|
@@ -51,6 +51,7 @@ |
|
|
block discarded – undo |
|
51
|
51
|
/** |
|
52
|
52
|
* Shared Error Handler run as a Custom Error Handler and at Shutdown as an error handler of last resort. |
|
53
|
53
|
* When we run at shutdown we must not die as then the pretty printing of the Error doesn't happen which is lame sauce. |
|
|
54
|
+ * @param boolean $whether_i_may_die |
|
54
|
55
|
*/ |
|
55
|
56
|
function jp_custom_error_handler( $whether_i_may_die, $type, $message, $file, $line ) { |
|
56
|
57
|
if ( ! ( $type & ini_get( 'error_reporting' ) ) ) { |
Please login to merge, or discard this patch.