|  | @@ -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($element["class"]) ? $element["class"] : ""; | 
                                                                                                            
                                                            | 192 | 192 |              $type = isset($element["type"]) ? $element["type"] : ""; | 
                                                                                                            
                                                            | 193 | 193 |              $func = isset($element["function"]) ? $element["function"] : ""; | 
                                                                                                            
                                                            | 194 |  | -            $file = isset($element["file"]) ? "at <strong>" . $element["file"] . "</strong>" : ""; | 
                                                                                                            
                                                            | 195 |  | -            $line = isset($element["line"]) ? " at line <strong>" . $element["line"] . "</strong>" : ""; | 
                                                                                                            
                                                            | 196 |  | -            $output .= "<p>#" . ($index + 1) . ": " . $class . $type . $func . "() " . $file . $line . "</strong></p>"; | 
                                                                                                            
                                                            |  | 194 | +            $file = isset($element["file"]) ? "at <strong>".$element["file"]."</strong>" : ""; | 
                                                                                                            
                                                            |  | 195 | +            $line = isset($element["line"]) ? " at line <strong>".$element["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.