Make sure we can log all throwables, not just exceptions

This commit is contained in:
nathangray 2021-04-05 10:46:50 -06:00
parent 1277d2f05a
commit 060710a74a

View File

@ -608,7 +608,7 @@ class Egw extends Egw\Base
$callback = array_shift($data); $callback = array_shift($data);
call_user_func_array($callback, $data); call_user_func_array($callback, $data);
} }
catch (\Exception $ex) { catch (\Throwable $ex) {
_egw_log_exception($ex); _egw_log_exception($ex);
} }
} }