Provide normal error if command raises exception
authorJeremy Stanley <fungi@yuggoth.org>
Mon, 13 May 2019 19:23:51 +0000 (19:23 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Mon, 13 May 2019 19:39:52 +0000 (19:39 +0000)
commit0f70e3a057151497d7d99711660e8649485ef6c2
tree7f95ddf65ac7d3999e10d2a04413dd0d20e2b12d
parentf6f7c26e115c61153017b50660d0561f854a8e20
Provide normal error if command raises exception

If a attempting to execute a user-supplied command results in a
Python exception, return the normal error message string to the user
(in addition to logging the exception and traceback). This way,
normal users won't see any difference between unknown/invalid
commands and broken ones.
mudpy/misc.py