 Daniel García
					
					7 years ago
						Daniel García
					
					7 years ago
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: FC8A7D14C3CD543A
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
1 additions and 
0 deletions
			 
			
		 
		
			
				- 
					
					
					 
					src/error.rs
				
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -163,6 +163,7 @@ macro_rules! err_json { | 
			
		
	
		
		
			
				
					|  |  | #[macro_export] |  |  | #[macro_export] | 
			
		
	
		
		
			
				
					|  |  | macro_rules! err_handler { |  |  | macro_rules! err_handler { | 
			
		
	
		
		
			
				
					|  |  |     ($expr:expr) => {{ |  |  |     ($expr:expr) => {{ | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         error!("Unauthorized Error: {:#?}", $expr); | 
			
		
	
		
		
			
				
					|  |  |         return rocket::Outcome::Failure((rocket::http::Status::Unauthorized, $expr)); |  |  |         return rocket::Outcome::Failure((rocket::http::Status::Unauthorized, $expr)); | 
			
		
	
		
		
			
				
					|  |  |     }}; |  |  |     }}; | 
			
		
	
		
		
			
				
					|  |  | } |  |  | } | 
			
		
	
	
		
		
			
				
					|  | 
 |