Skip to content

Commit

Permalink
Merge pull request #66 from garemoko/patch-1
Browse files Browse the repository at this point in the history
Fixes `Class 'TinCan\ErrorException' not found`
  • Loading branch information
brianjmiller authored Aug 20, 2016
2 parents d329340 + 4017ae4 commit 2d48f03
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 @@ -127,7 +127,7 @@ protected function sendRequest($method, $resource) {
//
set_error_handler(
function ($errno, $errstr, $errfile, $errline, array $errcontext) {
throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
throw new \ErrorException($errstr, 0, $errno, $errfile, $errline);
}
);

Expand Down

0 comments on commit 2d48f03

Please sign in to comment.