changed all client Exceptions from Exception to \Exception
This commit is contained in:
committed by
Steffen Schröder
parent
34db6ea31b
commit
f825c0c111
@ -3,7 +3,6 @@
|
||||
namespace ManiaControl\Callbacks;
|
||||
|
||||
use ManiaControl\ManiaControl;
|
||||
use Maniaplanet\DedicatedServer\Xmlrpc\Exception;
|
||||
|
||||
/**
|
||||
* Class for managing Server and ManiaControl Callbacks
|
||||
@ -193,7 +192,7 @@ class CallbackManager {
|
||||
|
||||
try {
|
||||
$callbacks = $this->maniaControl->client->executeCallbacks();
|
||||
} catch(Exception $e) {
|
||||
} catch(\Exception $e) {
|
||||
trigger_error("Error reading server callbacks. " . $e->getMessage());
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user