Browse Source

Support extra sink argument

pull/264/head
John R. Daily 10 years ago
parent
commit
f37a957a0e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/lager_crash_backend.erl

+ 1
- 1
test/lager_crash_backend.erl View File

@ -27,7 +27,7 @@
-include_lib("eunit/include/eunit.hrl"). -include_lib("eunit/include/eunit.hrl").
-endif. -endif.
init([CrashBefore, CrashAfter]) ->
init([{sink, _Sink}, CrashBefore, CrashAfter]) ->
case is_tuple(CrashBefore) andalso (timer:now_diff(CrashBefore, os:timestamp()) > 0) of case is_tuple(CrashBefore) andalso (timer:now_diff(CrashBefore, os:timestamp()) > 0) of
true -> true ->
%?debugFmt("crashing!~n", []), %?debugFmt("crashing!~n", []),

Loading…
Cancel
Save