diff options
author | Loïc Hoguin <[email protected]> | 2012-11-26 23:06:45 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-11-26 23:06:45 +0100 |
commit | 5e6aab756a8b5ff564f071d83b187413dd19535c (patch) | |
tree | a6594afbe732dbc5246296d6cd116b84ef67b954 /src/cowboy_rest.erl | |
parent | 74ba41e2393b34b7772c4eeb94df86c46ea05a49 (diff) | |
download | cowboy-5e6aab756a8b5ff564f071d83b187413dd19535c.tar.gz cowboy-5e6aab756a8b5ff564f071d83b187413dd19535c.tar.bz2 cowboy-5e6aab756a8b5ff564f071d83b187413dd19535c.zip |
Fix a small typo in the rest_init error message
Diffstat (limited to 'src/cowboy_rest.erl')
-rw-r--r-- | src/cowboy_rest.erl | 2 |
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()]), |