mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 19:37:32 -05:00 
			
		
		
		
	Fixes for Analytics
This commit is contained in:
		
							parent
							
								
									c4f842cf9d
								
							
						
					
					
						commit
						28caa315a5
					
				@ -73,4 +73,5 @@ class EmailSuccess
 | 
			
		||||
    public function __construct($string_metric7) {
 | 
			
		||||
        $this->string_metric7 = $string_metric7;
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -205,6 +205,7 @@ class NinjaMailerJob implements ShouldQueue
 | 
			
		||||
        nlog($exception->getMessage());
 | 
			
		||||
        
 | 
			
		||||
        $job_failure = new EmailFailure($this->nmo->company->company_key);
 | 
			
		||||
        $job_failure->string_metric5 = 'failed_email';
 | 
			
		||||
        $job_failure->string_metric6 = substr($exception->getMessage(), 0, 150);
 | 
			
		||||
 | 
			
		||||
        LightLogs::create($job_failure)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user