Disable spark transformations inside try except warning

Kayla
Valued Contributor II
I'm wondering if there's a way to suppress certain errors? I have a lot of spammy yellow underlining from this one warning, and it doesn't seem that the warning behaves properly. Transformation inside try/except block is lazy, fine, I have actions on the dataframe ALSO in the try/except so this is irrelevant.

I'm also a little confused what it's actually coming from. It says it's from databricks-flint, which sounds like a linter, but searching it is giving me a time-series library?

Warning message:
Spark transformations inside try/except are lazy and will not raise exceptions. Move the triggering action (e.g., .count(), .show(), .collect()) inside the try block instead.
databricks-flint(SCPAP005)
 
Kayla_0-1785436282119.png