From 49c35af6af8c5207c7c7c0fe41c041b2134262d6 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Mon, 16 Apr 2018 19:07:53 +0100 Subject: Tell the rehasher if an exception is thrown by a module on rehash. --- src/configreader.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/configreader.cpp b/src/configreader.cpp index e4ce955f8..7941e4844 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -805,6 +805,8 @@ void ConfigReaderThread::Finish() catch (CoreException& modex) { ServerInstance->Logs->Log("MODULE", LOG_DEFAULT, "Exception caught: " + modex.GetReason()); + if (user) + user->WriteNotice(i->first + ": " + modex.GetReason()); } } -- cgit v1.2.3