Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors from the DynamoDB service seems to (also) use the key "Message" (... #28

Merged
merged 1 commit into from
Jan 26, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Errors from the DynamoDB service seems to (also) use the key "Message…
…" (uppercase initial letter) to communicate descriptive error messages.
  • Loading branch information
Arne Georg Gleditsch committed Nov 13, 2012
commit 7fbb5ff46f74f5ea421a76eadf49513d82cf9be9
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ public String parseMessage(JSONObject json) throws Exception {
if (json.has("message")) {
message = json.getString("message");
}
else if (json.has("Message")) {
message = json.getString("Message");
}
return message;
}

Expand Down