-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
krampus/kinder/lambda_funcs.py
Line 36 in 738f006
| KLog.log("could not delete function '%s', unknown error: %s" % str(e), "critical") |
>>> try:
... raise ValueError
... except Exception as e:
... print("could not delete function '%s', unknown error: %s" % str(e))
...
Traceback (most recent call last):
File "<input>", line 2, in <module>
ValueError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<input>", line 4, in <module>
TypeError: not enough arguments for format string
# minimal example
>>> "could not delete function '%s', unknown error: %s" % "Exception string..."
Traceback (most recent call last):
File "<input>", line 1, in <module>
TypeError: not enough arguments for format stringIt seems like adding self.func as the first string might be the answer:
KLog.log("could not delete function '%s', unknown error: %s" % (self.func, str(e)), "critical")Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels