changed all client Exceptions from Exception to \Exception

This commit is contained in:
kremsy authored and Steffen Schröder committed 2014-05-01 17:35:11 +02:00
1 parent 34db6ea31b
commit f825c0c111
12 files changed
+74 -86

No files matched your search

@@ -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;
}