From 2df20aaffb7461fa5a96e677b9ef31cd2d846204 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 20 Mar 2015 03:51:21 +0100 Subject: show exception type in debug mode --- lib/private/template.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/private/template.php') 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()); -- cgit v1.2.3