From 1c5ff92c9398c01708158f0a057905ad50a3255c Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 29 Aug 2011 17:08:26 -0400 Subject: Changed a few fatal exceptions to shutdown a bit more gracefully --- modules/commands/os_module.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules/commands/os_module.cpp') diff --git a/modules/commands/os_module.cpp b/modules/commands/os_module.cpp index 562e130aa..750a29bfa 100644 --- a/modules/commands/os_module.cpp +++ b/modules/commands/os_module.cpp @@ -111,7 +111,10 @@ class CommandOSModReLoad : public Command else { if (fatal) - throw FatalException("Unable to reload module " + mname); + { + quitmsg = "Unable to reload module " + mname; + quitting = true; + } else source.Reply(_("Unable to load module \002%s\002"), mname.c_str()); } -- cgit