Avoid bare exceptions
This commit is contained in:
parent
08b7034d6f
commit
06406fa46c
2 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue