Skip to content

Commit

Permalink
~ Qualify exception path
Browse files Browse the repository at this point in the history
  • Loading branch information
tylernathanreed authored Oct 19, 2020
1 parent 2faab54 commit d823475
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ protected function dispatchSentEvent($message, $data)
*/
protected function dispatchFailedEvent($message, $data, Throwable $exception)
{
$exception = new SMSException($exception->getMessage(), $exception->getCode(), $exception);
$exception = new Exceptions\SMSException($exception->getMessage(), $exception->getCode(), $exception);

if (!$this->events) {
throw $exception;
Expand Down Expand Up @@ -535,4 +535,4 @@ public function setQueue(QueueContract $queue)

return $this;
}
}
}

0 comments on commit d823475

Please sign in to comment.