mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 22:47:32 -05:00 
			
		
		
		
	Add is_api to utils log error
This commit is contained in:
		
							parent
							
								
									ab0d6ae4b2
								
							
						
					
					
						commit
						ae2f23da79
					
				@ -394,6 +394,7 @@ class Utils
 | 
			
		||||
            'ip' => Request::getClientIp(),
 | 
			
		||||
            'count' => Session::get('error_count', 0),
 | 
			
		||||
            'is_console' => App::runningInConsole() ? 'yes' : 'no',
 | 
			
		||||
            'is_api' => session('token_id') ? 'yes' : 'no',
 | 
			
		||||
        ];
 | 
			
		||||
 | 
			
		||||
        if ($info) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user