Skip to content

Commit

Permalink
Merge pull request #464 from bowlofeggs/flake8-E722
Browse files Browse the repository at this point in the history
Convert a bare except to make flake8 E722 pass.
  • Loading branch information
Natim committed Oct 26, 2017
2 parents 688fce0 + fe504bb commit e5f40b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cornice/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ def wrapper(request):
response = view_()
else:
response = view_(request)
except:
except Exception:
# cors headers need to be set if an exception was raised
request.info['cors_checked'] = False
raise
Expand Down

0 comments on commit e5f40b6

Please sign in to comment.