diff options
author | Urban Müller | 2014-04-08 15:28:48 +0200 |
---|---|---|
committer | Urban Müller | 2014-04-08 15:28:48 +0200 |
commit | b1598bf64b8c29c9c0aed0d3570b60a722feb52d (patch) | |
tree | 52135d9de406d073dedb42a2e22de27703a7ca25 /it.class | |
parent | ba88b1780b11d818b4598ad884c787ae3ed322c1 (diff) | |
download | itools-b1598bf64b8c29c9c0aed0d3570b60a722feb52d.tar.gz itools-b1598bf64b8c29c9c0aed0d3570b60a722feb52d.tar.bz2 itools-b1598bf64b8c29c9c0aed0d3570b60a722feb52d.zip |
make sure stack trace comes before any long body
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -208,7 +208,7 @@ static function error($p = array()) $p['body'] = "Body: " . getenv('HOSTNAME') . ":$datafn"; } - $body = ($p['body'] ? trim($p['body'])."\n\n" : "") . ($p['omitdebuginfo'] >= 2 ? "" : ($url && !$toscreen? "{$p['title']}\n\nUrl: $url\n\n" : "") . ($trace ? ($sendmail?"" :" ")."Trace: $trace\n\n" : "")); + $body = ($p['omitdebuginfo'] >= 2 ? "" : ($url && !$toscreen? "{$p['title']}\n\nUrl: $url\n\n" : "") . ($trace ? ($sendmail?"" :" ")."Trace: $trace\n\n" : "")) . ($p['body'] ? "Body:\n" . trim($p['body'])."\n\n" : ""); if ($sendmail) # we're mailing: send maximum info { |