1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-20 04:20:55 +01:00

unbreak exception handling

Summary: fix T10306

Test Plan: ¯\_(ツ)_/¯

Reviewers: chad, #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin

Maniphest Tasks: T10306

Differential Revision: https://secure.phabricator.com/D15229
This commit is contained in:
Aviv Eyal 2016-02-09 18:20:22 +00:00 committed by avivey
parent 55f607e397
commit 4c1140a3a7

View file

@ -100,7 +100,7 @@ final class DiffusionServeController extends DiffusionController {
->setResultCode(500) ->setResultCode(500)
->setProperties( ->setProperties(
array( array(
'exception.class' => $ex->getClass(), 'exception.class' => get_class($ex),
'exception.message' => $ex->getMessage(), 'exception.message' => $ex->getMessage(),
)); ));
} }