Skip to content
Browse files

expose underlying problem when create_path returns something other th…

…an a path string
  • Loading branch information...
1 parent 7dbc8e4 commit ccdfb43478490edf9c86294b018430c45d1f5aa2 @d2fn d2fn committed Sep 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/webmachine_decision_core.erl
View
2 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 ccdfb43

Please sign in to comment.
Something went wrong with that request. Please try again.