From 67094db9bd0a696590d4e8fecd4976238f7dbab4 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Thu, 21 Dec 2017 08:28:06 -0500 Subject: [PATCH] Trigger user errorss --- php/web/next.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/php/web/next.php b/php/web/next.php index def4ca6..e930f20 100644 --- a/php/web/next.php +++ b/php/web/next.php @@ -133,10 +133,12 @@ try { echo "ok"; } catch (DumpableException $e) { + trigger_error(print_r($e, true), E_USER_WARNING); header("HTTP/1.1 400 Eh", true, 400); var_dump($e); echo ob_get_clean(); } catch (\Exception $e) { + trigger_error(print_r($e, true), E_USER_WARNING); header("HTTP/1.1 400 Meh", true, 400); var_dump(get_class($e)); echo ob_get_clean();