refactor(email): improve error handling by passing context to handleError
This commit is contained in:
parent
f060b7d3d2
commit
39cb270eb7
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@ function () {
|
|||
throw new \Exception('Too many messages sent!');
|
||||
}
|
||||
} catch (\Throwable $e) {
|
||||
return handleError($e);
|
||||
return handleError($e, $this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue