Merge pull request #1441 from rahulshukla-webkul/development

error in cancel mail
This commit is contained in:
Jitendra Singh 2019-09-11 13:57:41 +05:30 committed by GitHub
commit 8281ea0088
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ class Order {
{
try {
Mail::queue(new NewOrderNotification($order));
Mail::queue(new NewAdminNotification($order));
} catch (\Exception $e) {
@ -86,7 +86,7 @@ class Order {
try{
Mail::queue(new CancelOrderNotification($order));
}catch (\Exception $e){
Log::error('Error occured when sending email '.$e->getMessage());
\Log::error('Error occured when sending email '.$e->getMessage());
}
}
}