summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-04-16 19:07:53 +0100
committerPeter Powell <petpow@saberuk.com>2018-04-17 18:36:50 +0100
commit49c35af6af8c5207c7c7c0fe41c041b2134262d6 (patch)
tree5eda91d79039b0f2b4237bfdd7865005e160f0a3 /src
parent4d3ab4c3a5651331879fb9ce3d1f86cef3d60595 (diff)
Tell the rehasher if an exception is thrown by a module on rehash.
Diffstat (limited to 'src')
-rw-r--r--src/configreader.cpp2
1 files changed, 2 insertions, 0 deletions
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());
}
}