Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create snapshot throws 500 Internal Error
The server doesn't check whether the parameter "volume_id" is in request body. So the 500 error has been thrown. We should catch the KeyError and transfer the KeyError to 400(HTTPBadRequest) instead of 500. Change-Id: I8a1dde1fd6ed820b39995af434efacc2a27c9604 Closes-Bug: #1252179
- Loading branch information
huangtianhua
committed
Nov 18, 2013
1 parent
1099f09
commit 381e717
Showing
4 changed files
with
40 additions
and
2 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
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