Skip to content

Commit

Permalink
Log errors during tempgc.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmundkur committed Feb 13, 2012
1 parent 3c4f45c commit 5427abb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions master/src/temp_gc.erl
Expand Up @@ -25,11 +25,13 @@ loop() ->
Active = gb_sets:from_list(
[Name || {Name, active, _Start, _Pid} <- Jobs]),
process_dir(Dirs, gb_sets:from_ordset(Purged), Active);
_ ->
E ->
% fresh install, try again after GC_INTERVAL
error_logger:info_report({"Tempgc: listing error", E}),
ok
end;
_ ->
E ->
error_logger:info_report({"Tempgc: master error", E}),
% master busy, try again after GC_INTERVAL
ok
end,
Expand Down

0 comments on commit 5427abb

Please sign in to comment.