diff options
Diffstat (limited to 'application/controllers')
-rw-r--r-- | application/controllers/api.php | 2 | ||||
-rw-r--r-- | application/controllers/tools.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/application/controllers/api.php b/application/controllers/api.php index 644a726e7..9540f1ff7 100644 --- a/application/controllers/api.php +++ b/application/controllers/api.php @@ -59,7 +59,7 @@ class Api extends MY_Controller { } catch (\exceptions\PublicApiException $e) { return send_json_error_reply($e->get_error_id(), $e->getMessage(), $e->get_data()); } catch (\Exception $e) { - _log_exception($e); + \libraries\ExceptionHandler::log_exception($e); return send_json_error_reply("internal-error", "An unhandled internal server error occured"); } } diff --git a/application/controllers/tools.php b/application/controllers/tools.php index f2fa1f97c..f0d8ce6f9 100644 --- a/application/controllers/tools.php +++ b/application/controllers/tools.php @@ -89,7 +89,7 @@ class Tools extends MY_Controller { $test->cleanup(); } catch (\Exception $e) { echo "not ok - uncaught exception in {$testcase}->{$method->name}\n"; - _actual_exception_handler($e); + \libraries\ExceptionHandler::exception_handler($e); $exitcode = 255; } } |