diff options
Diffstat (limited to 'test/handlers/input_crash_h.erl')
-rw-r--r-- | test/handlers/input_crash_h.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/handlers/input_crash_h.erl b/test/handlers/input_crash_h.erl index e941cca..8cb7cbc 100644 --- a/test/handlers/input_crash_h.erl +++ b/test/handlers/input_crash_h.erl @@ -6,5 +6,5 @@ -export([init/2]). init(Req, content_length) -> - cowboy_error_h:ignore(cow_http_hd, number, 2), + ct_helper_error_h:ignore(erlang, binary_to_integer, 1), cowboy_req:parse_header(<<"content-length">>, Req). |