From aa49154e5a9ee135c3f0286ddda8a01a5290b1ed Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 15 Nov 2023 17:53:47 +0100 Subject: Fix more type errors, stricter typing --- inc/hook.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'inc/hook.inc.php') diff --git a/inc/hook.inc.php b/inc/hook.inc.php index abeac68e..f7ca617d 100644 --- a/inc/hook.inc.php +++ b/inc/hook.inc.php @@ -1,5 +1,7 @@ file); } catch (Exception $e) { - error_log($e); + error_log($e->getMessage()); return false; } } -- cgit v1.2.3-55-g7522