Skip to content

Commit

Permalink
avoid bare exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Omer Lachish committed Aug 20, 2019
1 parent b183f72 commit 6ae3438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redash/models/parameterized_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def _valid(self, name, value):

try:
return validate(value)
except:
except Exception as e:
return False

@property
Expand Down

0 comments on commit 6ae3438

Please sign in to comment.