Skip to content

Commit

Permalink
condition removed
Browse files Browse the repository at this point in the history
  • Loading branch information
neelasha23 committed Jul 3, 2023
1 parent e546bec commit 8a92f4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sql/error_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def parse_sqlglot_error(e, q):
def detail(original_error, query=None):
original_error = str(original_error)
return_msg = SYNTAX_ERROR
if "syntax error" in original_error or "does not exist" in original_error:
if "syntax error" in original_error:
query_list = sqlparse.split(query)
for q in query_list:
try:
Expand Down

0 comments on commit 8a92f4f

Please sign in to comment.