|
@@ -180,8 +180,8 @@ discard block |
|
|
block discarded – undo |
|
180
|
180
|
<body> |
|
181
|
181
|
<h1>Tight Framework Exception</h1> |
|
182
|
182
|
EXC; |
|
183
|
|
- $output .= "<p><strong>" . get_class($exception) . ": </strong>" . $exception->getMessage() . "</p>"; |
|
184
|
|
- $output .= "<p class='padding-left'>in <strong>" . $lastTrace['file'] . "</strong> at line <strong>" . $lastTrace['line'] . "</strong></p>"; |
|
|
183
|
+ $output .= "<p><strong>".get_class($exception).": </strong>".$exception->getMessage()."</p>"; |
|
|
184
|
+ $output .= "<p class='padding-left'>in <strong>".$lastTrace['file']."</strong> at line <strong>".$lastTrace['line']."</strong></p>"; |
|
185
|
185
|
$output .= "<br/>"; |
|
186
|
186
|
$output .= "<p>Stack Trace:</p>"; |
|
187
|
187
|
$trace = $exception->getTrace(); |
|
@@ -191,9 +191,9 @@ discard block |
|
|
block discarded – undo |
|
191
|
191
|
$class = isset($el["class"]) ? $el["class"] : ""; |
|
192
|
192
|
$type = isset($el["type"]) ? $el["type"] : ""; |
|
193
|
193
|
$func = isset($el["function"]) ? $el["function"] : ""; |
|
194
|
|
- $file = isset($el["file"]) ? "at <strong>" . $el["file"] . "</strong>" : ""; |
|
195
|
|
- $line = isset($el["line"]) ? " at line <strong>" . $el["line"] . "</strong>" : ""; |
|
196
|
|
- $output .= "<p>#" . ($index + 1) . ": " . $class . $type . $func . "() " . $file . $line . "</strong></p>"; |
|
|
194
|
+ $file = isset($el["file"]) ? "at <strong>".$el["file"]."</strong>" : ""; |
|
|
195
|
+ $line = isset($el["line"]) ? " at line <strong>".$el["line"]."</strong>" : ""; |
|
|
196
|
+ $output .= "<p>#".($index + 1).": ".$class.$type.$func."() ".$file.$line."</strong></p>"; |
|
197
|
197
|
} |
|
198
|
198
|
echo $output; |
|
199
|
199
|
} |
Please login to merge, or discard this patch.