aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_rest.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-11-28 18:30:53 +0100
committerLoïc Hoguin <[email protected]>2012-11-28 18:30:53 +0100
commit45dd67741f62512baaea3d57dd822374c06536ca (patch)
tree2733b0e98d873c1702aeffe718b2b9bb2747838c /src/cowboy_rest.erl
parent8cd91832726a3624cfc83f51c073bf2a10c60d63 (diff)
downloadcowboy-45dd67741f62512baaea3d57dd822374c06536ca.tar.gz
cowboy-45dd67741f62512baaea3d57dd822374c06536ca.tar.bz2
cowboy-45dd67741f62512baaea3d57dd822374c06536ca.zip
Clarify error reports indicating they come from Cowboy
Diffstat (limited to 'src/cowboy_rest.erl')
-rw-r--r--src/cowboy_rest.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_rest.erl b/src/cowboy_rest.erl
index 2b1bda5..c59af35 100644
--- a/src/cowboy_rest.erl
+++ b/src/cowboy_rest.erl
@@ -73,7 +73,7 @@ upgrade(_ListenerPid, Handler, Opts, Req) ->
catch Class:Reason ->
PLReq = cowboy_req:to_list(Req),
error_logger:error_msg(
- "** Handler ~p terminating in rest_init/2~n"
+ "** Cowboy handler ~p terminating in rest_init/2~n"
" for the reason ~p:~p~n** Options were ~p~n"
"** Request was ~p~n** Stacktrace: ~p~n~n",
[Handler, Class, Reason, Opts, PLReq, erlang:get_stacktrace()]),