summaryrefslogtreecommitdiffstats
path: root/application/controllers/api.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/api.php')
-rw-r--r--application/controllers/api.php2
1 files changed, 1 insertions, 1 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");
}
}