dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d89076
)
Include the backtrace in the log for job exceptions
author
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 25 Jun 2013 22:33:58 +0000
(15:33 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 25 Jun 2013 23:16:05 +0000
(23:16 +0000)
Change-Id: Iff478f452142f1ccc9af70b4a64cfb66d04014f3
maintenance/runJobs.php
patch
|
blob
|
history
diff --git
a/maintenance/runJobs.php
b/maintenance/runJobs.php
index
6a6f9d2
..
9dac031
100644
(file)
--- a/
maintenance/runJobs.php
+++ b/
maintenance/runJobs.php
@@
-102,7
+102,7
@@
class RunJobs extends Maintenance {
} catch ( MWException $e ) {
$status = false;
$error = get_class( $e ) . ': ' . $e->getMessage();
- wfDebugLog( 'exception', $e->getLogMessage() );
+ $e->report(); // write error to STDERR and the log
}
wfProfileOut( __METHOD__ . '-' . get_class( $job ) );
$timeMs = intval( ( microtime( true ) - $t ) * 1000 );