Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initialize and terminate connection raise 500 err
Initialize and terminate connection should check whether "connector" is in request body. It throws 500 error if "connector" is not present. We should catch the KeyError and transfer it to 400 (HTTPBadRequest) instead of. Closes-Bug: #1253944 Change-Id: If38419592701c8a14df52f94fd46ed0fc7a17e04
- Loading branch information
1 parent
b4a9c25
commit 60f5b77
Showing
2 changed files
with
38 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters