diff options
Diffstat (limited to 'server/core/App.php')
| -rwxr-xr-x | server/core/App.php | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/server/core/App.php b/server/core/App.php index ff2e1af..babb3d9 100755 --- a/server/core/App.php +++ b/server/core/App.php @@ -64,15 +64,14 @@ class App{ $this->setOutput("token", $this->tokenClass->getBackup());
}catch(BadResponseError $e){
- var_dump($e);
- }catch(UserInputError $e){
- var_dump($e);
- }catch(BaseError $e){
- var_dump($e);
- exit();
- }catch(NotImplementedError $e){
- var_dump($e);
- }
+ $this->errorClass->BadResponseHandler($e);
+ }catch(UserInputError $e){
+ $this->errorClass->UserInputHandler($e);
+ }catch(BaseError $e){
+ $this->errorClass->BaseErrorHandler($e);
+ }catch(NotImplementedError $e){
+ $this->errorClass->NotImplementedHandler($e);
+ }
}
|
