From 76e51694221b7c0756aee781eebe36a2c041df69 Mon Sep 17 00:00:00 2001 From: curiosity Date: Wed, 9 Oct 2024 11:07:34 +0200 Subject: [PATCH] add throwable messages to emails --- classes/task/archive_user_task.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/task/archive_user_task.php b/classes/task/archive_user_task.php index 84c9db3..0b196fb 100644 --- a/classes/task/archive_user_task.php +++ b/classes/task/archive_user_task.php @@ -184,6 +184,7 @@ private function change_user_deprovisionstatus($userarray, $intention) { } catch (\Throwable $e) { $failures[$key] = $user->id; $messages .= "\n Could not " . $intention . " " . $user->username; + $messages .= "\n Caught throwable: " . $e->getMessage(); } } }