From 4c1140a3a78944813beaf249b49aea961d1fa1c8 Mon Sep 17 00:00:00 2001 From: Aviv Eyal Date: Tue, 9 Feb 2016 18:20:22 +0000 Subject: [PATCH] unbreak exception handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .../diffusion/controller/DiffusionServeController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/diffusion/controller/DiffusionServeController.php b/src/applications/diffusion/controller/DiffusionServeController.php index 8f3eb364f6..8d131eca6d 100644 --- a/src/applications/diffusion/controller/DiffusionServeController.php +++ b/src/applications/diffusion/controller/DiffusionServeController.php @@ -100,7 +100,7 @@ final class DiffusionServeController extends DiffusionController { ->setResultCode(500) ->setProperties( array( - 'exception.class' => $ex->getClass(), + 'exception.class' => get_class($ex), 'exception.message' => $ex->getMessage(), )); }