Matthew Holt 
							
						 
					 
					
						
						
						
						
							
						
						
							9467dbdd40 
							
						 
					 
					
						
						
							
							Fix errors tests  
						
						
						
						
					 
					
						2015-07-05 23:23:35 -06:00 
						 
				 
			
				
					
						
							
							
								Matthew Holt 
							
						 
					 
					
						
						
						
						
							
						
						
							71c4fdbc85 
							
						 
					 
					
						
						
							
							errors: Prepend timestamp to log entry  
						
						
						
						
					 
					
						2015-07-05 23:20:37 -06:00 
						 
				 
			
				
					
						
							
							
								Tw 
							
						 
					 
					
						
						
						
						
							
						
						
							b717e6f2d8 
							
						 
					 
					
						
						
							
							Add unit test for errors middleware  
						
						... 
						
						
						
						Signed-off-by: Tw <tw19881113@gmail.com> 
						
						
					 
					
						2015-06-09 15:24:53 +08:00 
						 
				 
			
				
					
						
							
							
								Matthew Holt 
							
						 
					 
					
						
						
						
						
							
						
						
							857b4f90d9 
							
						 
					 
					
						
						
							
							errors: Log includes file and line number of panics  
						
						
						
						
					 
					
						2015-05-05 15:48:10 -06:00 
						 
				 
			
				
					
						
							
							
								Matthew Holt 
							
						 
					 
					
						
						
						
						
							
						
						
							995edf0566 
							
						 
					 
					
						
						
							
							Bringing in latest from master; refactoring under way  
						
						
						
						
					 
					
						2015-05-04 11:02:46 -06:00 
						 
				 
			
				
					
						
							
							
								Matthew Holt 
							
						 
					 
					
						
						
						
						
							
						
						
							9dfbbbcda4 
							
						 
					 
					
						
						
							
							errors: Pointer to handler prevents nil pointer errors in handling ( fixes   #15 )  
						
						... 
						
						
						
						If we do not use a pointer here, the startup function that opens the log file stores the log file in a copy of the handler, not the same instance of the handler, causing panics during requests, which is bad, especially when the response is gzipped: the next recover() is beyond the gzip handler, so the browser downloads a gz file instead. 
						
						
					 
					
						2015-04-30 10:16:49 -06:00 
						 
				 
			
				
					
						
							
							
								Matthew Holt 
							
						 
					 
					
						
						
						
						
							
						
						
							9b74901b40 
							
						 
					 
					
						
						
							
							errors: Fix file paths for error pages & empty log filenames  
						
						
						
						
					 
					
						2015-04-28 13:05:01 -06:00 
						 
				 
			
				
					
						
							
							
								Matthew Holt 
							
						 
					 
					
						
						
						
						
							
						
						
							d33256f1dc 
							
						 
					 
					
						
						
							
							Refactor: Middleware chain uses Handler instead of HandlerFunc  
						
						
						
						
					 
					
						2015-04-02 23:30:54 -06:00 
						 
				 
			
				
					
						
							
							
								Matthew Holt 
							
						 
					 
					
						
						
						
						
							
						
						
							29fec4742e 
							
						 
					 
					
						
						
							
							Detailed godoc; better error handling convention  
						
						
						
						
					 
					
						2015-03-29 22:01:42 -06:00 
						 
				 
			
				
					
						
							
							
								Matthew Holt 
							
						 
					 
					
						
						
						
						
							
						
						
							4e9c432c14 
							
						 
					 
					
						
						
							
							Controller/Dispenser refactoring, typo fixes  
						
						
						
						
					 
					
						2015-03-29 19:56:19 -06:00 
						 
				 
			
				
					
						
							
							
								Matthew Holt 
							
						 
					 
					
						
						
						
						
							
						
						
							d2892fc799 
							
						 
					 
					
						
						
							
							New error handler middleware  
						
						
						
						
					 
					
						2015-03-28 16:50:06 -06:00