chore: polish error message

This commit is contained in:
Terry Geng
2020-03-02 09:34:36 +08:00
parent 9c62abfeb2
commit aa2155b6ca
2 changed files with 2 additions and 2 deletions

View File

@ -467,7 +467,7 @@ class MumbleBot:
music['ready'] = "yes"
download_succeed = True
except:
error_traceback = traceback.format_exc()
error_traceback = traceback.format_exc().split("During")[0]
self.log.error("bot: download failed with error:\n %s" % error_traceback)
if not download_succeed: