Skip to content

Commit 95f49d6

Browse files
committed
Additional instance of ErrorException in catch
1 parent 2d48f03 commit 95f49d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RemoteLRS.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ function ($errno, $errstr, $errfile, $errline, array $errcontext) {
139139
$content = "Request failed: $php_errormsg";
140140
}
141141
}
142-
catch (ErrorException $ex) {
142+
catch (\ErrorException $ex) {
143143
$content = "Request failed: $ex";
144144
}
145145

0 commit comments

Comments
 (0)