diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-03-20 03:51:21 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-03-20 03:51:21 +0100 |
commit | 2df20aaffb7461fa5a96e677b9ef31cd2d846204 (patch) | |
tree | 21f4abb6bcf4a787f6cd50544005407fcf47bf0d /lib/private/template.php | |
parent | 2a8c3798a8e43e1215c476815c3f7fa79d5ba91f (diff) | |
download | nextcloud-server-2df20aaffb7461fa5a96e677b9ef31cd2d846204.tar.gz nextcloud-server-2df20aaffb7461fa5a96e677b9ef31cd2d846204.zip |
show exception type in debug mode
Diffstat (limited to 'lib/private/template.php')
-rw-r--r-- | lib/private/template.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/template.php b/lib/private/template.php index b0d212c6f53..e6b76cc664e 100644 --- a/lib/private/template.php +++ b/lib/private/template.php @@ -217,6 +217,7 @@ class OC_Template extends \OC\Template\Base { public static function printExceptionErrorPage(Exception $exception) { $request = \OC::$server->getRequest(); $content = new \OC_Template('', 'exception', 'error', false); + $content->assign('errorClass', get_class($exception)); $content->assign('errorMsg', $exception->getMessage()); $content->assign('errorCode', $exception->getCode()); $content->assign('file', $exception->getFile()); |