Skip to content

Commit

Permalink
Additional instance of ErrorException in catch
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjmiller committed Aug 22, 2016
1 parent 2d48f03 commit 95f49d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RemoteLRS.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function ($errno, $errstr, $errfile, $errline, array $errcontext) {
$content = "Request failed: $php_errormsg";
}
}
catch (ErrorException $ex) {
catch (\ErrorException $ex) {
$content = "Request failed: $ex";
}

Expand Down

0 comments on commit 95f49d6

Please sign in to comment.