gabotorresruiz commented on code in PR #34803:
URL: https://github.com/apache/superset/pull/34803#discussion_r2308237881


##########
superset/connectors/sqla/models.py:
##########
@@ -686,11 +687,12 @@ def get_sqla_row_level_filters(
             grouped_filters = [or_(*clauses) for clauses in 
filter_groups.values()]
             all_filters.extend(grouped_filters)
             return all_filters
-        except TemplateError as ex:
+        except (TemplateError, SupersetSyntaxErrorException) as ex:
+            msg = ex.message if hasattr(ex, "message") else str(ex)

Review Comment:
   Done! Thanks 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to