aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/template.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/template.php')
-rw-r--r--lib/private/template.php1
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());