This commit is contained in:
comet
2020-01-27 23:31:05 +00:00
committed by ikelos
parent f00453e366
commit beed68b8bf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -53,6 +53,6 @@ if __name__ == '__main__':
print("[x] File not found: {}".format(filename))
except Exception as e:
failures.append(filename)
print("[x] Exception occured: {} ({})".format(filename, repr(e)))
print("[x] Exception occurred: {} ({})".format(filename, repr(e)))
print("Failures", failures)
+1 -1
View File
@@ -44,7 +44,7 @@ def construct_plugin(context: interfaces.context.ContextInterface,
if unsatisfied:
for error in errors:
error_string = [x for x in error.format_exception_only()][-1]
vollog.warning("Automagic exception occured: {}".format(error_string[:-1]))
vollog.warning("Automagic exception occurred: {}".format(error_string[:-1]))
vollog.log(constants.LOGLEVEL_V, "".join(error.format(chain = True)))
raise exceptions.UnsatisfiedException(unsatisfied)