CC-4389: Convert all PHP errors to throw exceptions instead
-don't throw exception for suppressed errors.
This commit is contained in:
parent
45795cfbb6
commit
bcc095e924
|
@ -63,6 +63,10 @@ try {
|
||||||
}
|
}
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
echo $e->getMessage();
|
echo $e->getMessage();
|
||||||
|
echo "<pre>";
|
||||||
|
echo $e->getTraceAsString();
|
||||||
|
echo "</pre>";
|
||||||
Logging::info($e->getMessage());
|
Logging::info($e->getMessage());
|
||||||
|
Logging::info($e->getTraceAsString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue