Fix formatting of stacktrace in log
authorTim Düsterhus <timwolla@googlemail.com>
Sun, 14 Apr 2013 20:50:03 +0000 (23:50 +0300)
committerTim Düsterhus <timwolla@googlemail.com>
Sun, 14 Apr 2013 20:50:03 +0000 (23:50 +0300)
wcfsetup/install/files/lib/system/exception/LoggedException.class.php

index 5afa175060ca31d61273a4f2bae9ac76352ab008..832b0fd9712f54221a0c6469e87412d94f89ff4e 100644 (file)
@@ -63,7 +63,7 @@ class LoggedException extends \Exception {
                        'WCF version: '.WCF_VERSION."\n".
                        'Request URI: '.(isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : '')."\n".
                        'Referrer: '.(isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '')."\n".
-                       "Stacktrace: \n ".implode("\n  ", explode("\n", $e->getTraceAsString()))."\n";
+                       "Stacktrace: \n  ".implode("\n  ", explode("\n", $e->getTraceAsString()))."\n";
                
                // calculate Exception-ID
                $id = StringUtil::getHash($message);