1
0

interface: catch many common exceptions explicitly

This commit is contained in:
SomberNight
2018-09-06 16:45:43 +02:00
parent 5ef04a039b
commit 0ad504bdf0
3 changed files with 35 additions and 5 deletions

View File

@@ -817,7 +817,7 @@ class Network(PrintError):
try:
raise i.exception
except BaseException as e:
self.print_error(i.server, "errored because", str(e), str(type(e)))
self.print_error(i.server, "errored because:", str(e), str(type(e)))
remove.append(k)
changed = False
for k in remove: