mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 04:30:25 +00:00
Fix a small typo in the rest_init error message
This commit is contained in:
parent
74ba41e239
commit
5e6aab756a
1 changed files with 1 additions and 1 deletions
|
@ -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()]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue