mirror of https://github.com/MISP/PyMISP
When a user tries to add an object with a name that doesn't exist, the error thrown was missing its format string
This ended up looking like
pymisp.exceptions.UnknownMISPObjectTemplate: {} is unknown in the MISP object directory.
Here's a patch that adds self.name to the format string
|
||
|---|---|---|
| .. | ||
| data | ||
| tools | ||
| __init__.py | ||
| abstract.py | ||
| api.py | ||
| exceptions.py | ||
| mispevent.py | ||