Skip to content

Commit 0b49ebb

Browse files
generatedunixname1440652887763105meta-codesync[bot]
authored andcommitted
whatsapp/server/erl/wa_raft/src/wa_raft_server.erl
Differential Revision: D92248351 fbshipit-source-id: 580672bcb603167096a5fbfbf1f25eba2ab8c343
1 parent 3919ad4 commit 0b49ebb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/wa_raft_server.erl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,9 @@ stalled(
10201020
?SERVER_LOG_WARNING(State0, "failed to bootstrap due to ~0P.", [Reason, 20]),
10211021
{keep_state_and_data, {reply, From, {error, Reason}}}
10221022
after
1023-
catch file:del_dir_r(Path)
1023+
try file:del_dir_r(Path)
1024+
catch _:_ -> ok
1025+
end
10241026
end;
10251027
false ->
10261028
?SERVER_LOG_NOTICE(State0, "at ~0p rejecting request to bootstrap with data.", [LastApplied]),

0 commit comments

Comments
 (0)