From 95f49d6e9f56badd4bd9aad7141578e0840ee471 Mon Sep 17 00:00:00 2001 From: "Brian J. Miller" Date: Mon, 22 Aug 2016 08:35:09 -0500 Subject: [PATCH] Additional instance of `ErrorException` in catch --- src/RemoteLRS.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RemoteLRS.php b/src/RemoteLRS.php index c14d0e6..78ecc46 100644 --- a/src/RemoteLRS.php +++ b/src/RemoteLRS.php @@ -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"; }