File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ function majordomoExceptionHandler($e)
107
107
} else {
108
108
$ url = 'commandline ' ;
109
109
}
110
- majordomoSaveError ($ url . "\nPHP exception: " . $ e ->getMessage () . "\nBacktrace: " . $ e ->getTraceAsString (), 'exceptions ' );
110
+ majordomoSaveError ($ url . "\nPHP exception: " . $ e ->getMessage () . " in " . $ e -> getFile () . " on line " . $ e -> getLine () . " \nBacktrace: " . $ e ->getTraceAsString (), 'exceptions ' );
111
111
return true ;
112
112
}
113
113
@@ -146,4 +146,4 @@ function phpShutDownFunction()
146
146
147
147
register_shutdown_function ('phpShutDownFunction ' );
148
148
set_error_handler ("majordomoErrorHandler " );
149
- set_exception_handler ('majordomoExceptionHandler ' );
149
+ set_exception_handler ('majordomoExceptionHandler ' );
You can’t perform that action at this time.
0 commit comments