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(); } } }