Removed catch in append_file/2 since there
is nothing to catch.
This commit is contained in:
parent
569c0858d6
commit
5587def78e
|
|
@ -149,7 +149,7 @@ start(normal, []) ->
|
|||
apply(M, F, A),
|
||||
io:format("done~n")
|
||||
end,
|
||||
[{"database",
|
||||
[{"database",
|
||||
fun () -> ok = rabbit_mnesia:init() end},
|
||||
{"core processes",
|
||||
fun () ->
|
||||
|
|
|
|||
|
|
@ -339,7 +339,7 @@ dirty_dump_log1(LH, {K, Terms, BadBytes}) ->
|
|||
|
||||
|
||||
append_file(File, Suffix) ->
|
||||
case catch file:read_file_info(File) of
|
||||
case file:read_file_info(File) of
|
||||
{ok, FInfo} -> append_file(File, FInfo#file_info.size, Suffix);
|
||||
{error, enoent} -> append_file(File, 0, Suffix);
|
||||
Error -> Error
|
||||
|
|
|
|||
Loading…
Reference in New Issue