mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
ensure existing exception handling code also handles new exception class
This commit is contained in:
parent
e554c2607f
commit
be1393a41c
@ -251,7 +251,7 @@ class PromptParser():
|
||||
class ParsingException(Exception):
|
||||
pass
|
||||
|
||||
class UnrecognizedOperatorException(Exception):
|
||||
class UnrecognizedOperatorException(ParsingException):
|
||||
def __init__(self, operator:str):
|
||||
super().__init__("Unrecognized operator: " + operator)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user