mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 09:50:37 +00:00
Fixed the error that's been swallowing exception messages
Finally! Becuase "TypeError: __init__() takes at least 3 arguments (2 given)" is not very useful...
This commit is contained in:
parent
d6e504d388
commit
02860de849
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
|
||||
|
||||
class ManifestError(Exception):
|
||||
def __init__(self, message, manifest_path, data_path=None):
|
||||
def __init__(self, message, manifest_path=None, data_path=None):
|
||||
super(ManifestError, self).__init__(message)
|
||||
self.message = message
|
||||
self.manifest_path = manifest_path
|
||||
|
|
Loading…
Add table
Reference in a new issue