summaryrefslogtreecommitdiff
path: root/action.php
diff options
context:
space:
mode:
Diffstat (limited to 'action.php')
-rw-r--r--action.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/action.php b/action.php
index a52756e1a9..f0c7d6dcfc 100644
--- a/action.php
+++ b/action.php
@@ -344,6 +344,8 @@ case 'language':
// Remember our selection
Auth::user()->setPreference('language', $language);
} catch (\Exception $ex) {
+ DebugBar::addThrowable($ex);
+
// Request for a non-existant language.
http_response_code(406);
}