From 060710a74ad430f146a3afecb1f0ca73b8794083 Mon Sep 17 00:00:00 2001 From: nathangray Date: Mon, 5 Apr 2021 10:46:50 -0600 Subject: [PATCH] Make sure we can log all throwables, not just exceptions --- api/src/Egw.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Egw.php b/api/src/Egw.php index 7974f79f5d..0f033da9cc 100644 --- a/api/src/Egw.php +++ b/api/src/Egw.php @@ -608,7 +608,7 @@ class Egw extends Egw\Base $callback = array_shift($data); call_user_func_array($callback, $data); } - catch (\Exception $ex) { + catch (\Throwable $ex) { _egw_log_exception($ex); } }