diff --git a/evennia/commands/default/unloggedin.py b/evennia/commands/default/unloggedin.py index 4751c2d8f0..22f61ae477 100644 --- a/evennia/commands/default/unloggedin.py +++ b/evennia/commands/default/unloggedin.py @@ -140,8 +140,7 @@ class CmdUnconnectedConnect(MuxCommand): # We are in the middle between logged in and -not, so we have # to handle tracebacks ourselves at this point. If we don't, # we won't see any errors at all. - string = "%s\nThis is a bug. Please e-mail an admin if the problem persists." - session.msg(string % (traceback.format_exc())) + session.msg("An error occurred. Please e-mail an admin if the problem persists.") logger.log_errmsg(traceback.format_exc()) finally: return @@ -287,8 +286,7 @@ class CmdUnconnectedCreate(MuxCommand): # We are in the middle between logged in and -not, so we have # to handle tracebacks ourselves at this point. If we don't, # we won't see any errors at all. - string = "%s\nThis is a bug. Please e-mail an admin if the problem persists." - session.msg(string % (traceback.format_exc())) + session.msg("An error occurred. Please e-mail an admin if the problem persists.") logger.log_errmsg(traceback.format_exc()) diff --git a/evennia/contrib/email_login.py b/evennia/contrib/email_login.py index cee8a14843..6ec9b32951 100644 --- a/evennia/contrib/email_login.py +++ b/evennia/contrib/email_login.py @@ -257,8 +257,7 @@ its and @/./+/-/_ only.") # this echoes the restrictions made by django's auth m # We are in the middle between logged in and -not, so we have # to handle tracebacks ourselves at this point. If we don't, # we won't see any errors at all. - string = "%s\nThis is a bug. Please e-mail an admin if the problem persists." - session.msg(string % (traceback.format_exc())) + session.msg("An error occurred. Please e-mail an admin if the problem persists.") logger.log_errmsg(traceback.format_exc()) class CmdUnconnectedQuit(MuxCommand): diff --git a/evennia/contrib/menu_login.py b/evennia/contrib/menu_login.py index 7868aa9985..f3176fd41f 100644 --- a/evennia/contrib/menu_login.py +++ b/evennia/contrib/menu_login.py @@ -235,8 +235,7 @@ class CmdPasswordCreate(Command): # We are in the middle between logged in and -not, so we have # to handle tracebacks ourselves at this point. If we don't, we # won't see any errors at all. - string = "%s\nThis is a bug. Please e-mail an admin if the problem persists." - self.caller.msg(string % (traceback.format_exc())) + self.caller.msg("An error occurred. Please e-mail an admin if the problem persists." logger.log_errmsg(traceback.format_exc())