add message to error_log when sending emails in testing application env

This commit is contained in:
Vaidas Lungis committed 2015-01-23 13:34:33 +02:00
1 parent 88ec2fe427
commit 72e07ecfe3
1 file changed
+1 -1
+1 -1
View File
@@ -593,7 +593,7 @@ class Service implements \Box\InjectionAwareInterface
$mail->addTo($queue->to, $queue->to_name);
if (APPLICATION_ENV != 'production') {
//if(BB_DEBUG) error_log('Skip email sending');
error_log('Skip email sending. Application ENV: '.APPLICATION_ENV);
return true;
}