From 2df20aaffb7461fa5a96e677b9ef31cd2d846204 Mon Sep 17 00:00:00 2001 From: Robin Appelman <icewind@owncloud.com> Date: Fri, 20 Mar 2015 03:51:21 +0100 Subject: show exception type in debug mode --- core/templates/exception.php | 1 + 1 file changed, 1 insertion(+) (limited to 'core') diff --git a/core/templates/exception.php b/core/templates/exception.php index e5b57e2645e..9ddc0f94d65 100644 --- a/core/templates/exception.php +++ b/core/templates/exception.php @@ -16,6 +16,7 @@ style('core', ['styles', 'header']); <li><?php p($l->t('Remote Address: %s', $_['remoteAddr'])) ?></li> <li><?php p($l->t('Request ID: %s', $_['requestID'])) ?></li> <?php if($_['debugMode']): ?> + <li><?php p($l->t('Type: %s', $_['errorClass'])) ?></li> <li><?php p($l->t('Code: %s', $_['errorCode'])) ?></li> <li><?php p($l->t('Message: %s', $_['errorMsg'])) ?></li> <li><?php p($l->t('File: %s', $_['file'])) ?></li> -- cgit v1.2.3