diff options
Diffstat (limited to 'core/templates/print_exception.php')
-rw-r--r-- | core/templates/print_exception.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/templates/print_exception.php b/core/templates/print_exception.php index 2def6d4e9d9..bb66d5abce3 100644 --- a/core/templates/print_exception.php +++ b/core/templates/print_exception.php @@ -1,11 +1,13 @@ <?php + +use OCP\IL10N; + /** * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors * SPDX-FileCopyrightText: 2012-2015 ownCloud, Inc. * SPDX-License-Identifier: AGPL-3.0-only */ - -function print_exception(Throwable $e, \OCP\IL10N $l): void { +function print_exception(Throwable $e, IL10N $l): void { print_unescaped('<pre>'); p($e->getTraceAsString()); print_unescaped('</pre>'); |