Removed catch in append_file/2 since there

is nothing to catch.
This commit is contained in:
Hubert Plociniczak 2008-09-05 16:41:42 +01:00
parent 569c0858d6
commit 5587def78e
2 changed files with 2 additions and 2 deletions

View File

@ -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 () ->

View File

@ -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