fix try catch

This commit is contained in:
Kristian Stöckel 2021-08-06 13:17:56 +02:00
parent 53e405c4f8
commit c9dd151b91
No known key found for this signature in database
GPG Key ID: 3CE9C31E33083581

View File

@ -77,7 +77,7 @@ class Grocycode
$gc = new self($code); $gc = new self($code);
return true; return true;
} }
catch (Exception $e) catch (\Exception $e)
{ {
return false; return false;
} }