From 47266de6d7344588bfbd38c6de2aac8004087f4d Mon Sep 17 00:00:00 2001 From: Mickael Remond Date: Fri, 1 Apr 2016 12:24:49 +0200 Subject: Do not use underscore variable --- src/mod_http_api.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mod_http_api.erl') diff --git a/src/mod_http_api.erl b/src/mod_http_api.erl index 73a072059..c4fae2022 100644 --- a/src/mod_http_api.erl +++ b/src/mod_http_api.erl @@ -188,8 +188,8 @@ check_permissions2(#request{ip={IP, _Port}}, Call, _Policy) -> true -> {allowed, Call, admin}; _ -> unauthorized_response() end; - _E -> - ?DEBUG("Unauthorized: ~p", [_E]), + E -> + ?DEBUG("Unauthorized: ~p", [E]), unauthorized_response() end; check_permissions2(_Request, _Call, _Policy) -> -- cgit v1.2.3