aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-11-26 23:06:45 +0100
committerLoïc Hoguin <[email protected]>2012-11-26 23:06:45 +0100
commit5e6aab756a8b5ff564f071d83b187413dd19535c (patch)
treea6594afbe732dbc5246296d6cd116b84ef67b954 /src
parent74ba41e2393b34b7772c4eeb94df86c46ea05a49 (diff)
downloadcowboy-5e6aab756a8b5ff564f071d83b187413dd19535c.tar.gz
cowboy-5e6aab756a8b5ff564f071d83b187413dd19535c.tar.bz2
cowboy-5e6aab756a8b5ff564f071d83b187413dd19535c.zip
Fix a small typo in the rest_init error message
Diffstat (limited to 'src')
-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 792d9bd..1c0554a 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/3~n"
+ "** 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()]),