error in cancel mail

This commit is contained in:
rahul shukla 2019-09-11 13:55:07 +05:30
parent b3ca0200ac
commit ce59e8b1d5
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());
}
}
}