mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-17 23:21:22 -05:00
ensure existing exception handling code also handles new exception class
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user