Avoid bare exceptions

This commit is contained in:
shortcutme 2019-08-02 14:04:18 +02:00
parent 08b7034d6f
commit 06406fa46c
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
2 changed files with 6 additions and 6 deletions

View file

@ -99,6 +99,6 @@ class UiRequestPlugin(object):
site = self.server.sites[path_parts["address"]]
try:
path_parts["address"], path_parts["inner_path"] = getCorsPath(site, path_parts["inner_path"])
except:
except Exception:
return None
return path_parts