Skip to content

Commit

Permalink
fix: Don't rewrite exception signature from query exc
Browse files Browse the repository at this point in the history
  • Loading branch information
gavindsouza committed Mar 22, 2024
1 parent 102a054 commit 18a1d1e
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,7 @@ def handle_query_execution_error(e):
frappe.throw(
"Syntax error in the query. Please check the browser console for more details."
)
frappe.throw(
"An error occurred while executing the query. Please check the browser console for more details."
)
frappe.throw(str(e).splitlines()[0])


def cache_results(sql, data_source, results):
Expand Down

0 comments on commit 18a1d1e

Please sign in to comment.