Skip to content

Commit d923e79

Browse files
committed
Issues-570: Logging errors with Tideways
1 parent 4e0c089 commit d923e79

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vanilla/library/core/class.controller.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1733,6 +1733,10 @@ protected function _renderXml($data, $node = 'Data', $indent = '') {
17331733
* @param Exception $ex The exception to render.
17341734
*/
17351735
public function renderException($ex) {
1736+
// FIX: https://github.com/topcoder-platform/forums/issues/570
1737+
if (class_exists('Tideways\Profiler')) {
1738+
\Tideways\Profiler::logException($ex);
1739+
}
17361740
if ($this->deliveryMethod() == DELIVERY_METHOD_XHTML) {
17371741
try {
17381742
// Pick our route.

0 commit comments

Comments
 (0)