mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 08:35:22 +00:00
Log when original version of intercepted function fails
This commit is contained in:
parent
8641f6edc6
commit
b71e582dc0
@ -57,6 +57,7 @@ intercept_riak_snmp_stat_poller(Node) ->
|
|||||||
RiakTestProcess ! pass
|
RiakTestProcess ! pass
|
||||||
catch
|
catch
|
||||||
Exception:Reason ->
|
Exception:Reason ->
|
||||||
|
lager:error("Failure in riak_snmp_stat_poller_orig:set_rows_orig: ~p~n", [{Exception, Reason}]),
|
||||||
RiakTestProcess ! {fail, {Exception, Reason}},
|
RiakTestProcess ! {fail, {Exception, Reason}},
|
||||||
error({Exception, Reason})
|
error({Exception, Reason})
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user