Fix default tuple.
This commit is contained in:
parent
e9145c344c
commit
17cfdcd04f
1 changed files with 2 additions and 2 deletions
|
@ -345,9 +345,9 @@ status(#state{status_cursor=Cursor}) ->
|
|||
{ok, Stats} ->
|
||||
Stats;
|
||||
{error, {eperm, _}} -> % TODO: review/fix this logic
|
||||
[];
|
||||
{ok, []};
|
||||
_ ->
|
||||
[]
|
||||
{ok, []}
|
||||
end.
|
||||
|
||||
%% @doc Register an asynchronous callback
|
||||
|
|
Loading…
Reference in a new issue