Permalink
Browse files

Merge pull request #39 from dietrichf/master

Better visibility into errors during create_path handling in POST
  • Loading branch information...
2 parents 7dbc8e4 + ccdfb43 commit da0b2b580b7180e57619b9921a1ccea75f5bfd2f @justinsheehy justinsheehy committed Sep 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/webmachine_decision_core.erl
@@ -427,7 +427,7 @@ decision(v3n11) ->
undefined -> error_response("post_is_create w/o create_path");
NewPath ->
case is_list(NewPath) of
- false -> error_response("create_path not a string");
+ false -> error_response({"create_path not a string",NewPath});
true ->
BaseUri = case resource_call(base_uri) of
undefined -> wrcall(base_uri);

0 comments on commit da0b2b5

Please sign in to comment.