Browse Source

Be even more paranoid about not crashing during a lock.

Roberto Ostinelli 9 years ago
parent
commit
370c7b121e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/syn_consistency.erl

+ 1 - 1
src/syn_consistency.erl

@@ -190,7 +190,7 @@ check_stitch(RemoteNode, CallbackModule, CallbackFunction) ->
         true ->
             ok;
         false ->
-            stitch(RemoteNode, CallbackModule, CallbackFunction),
+            catch stitch(RemoteNode, CallbackModule, CallbackFunction),
             ok;
         Error ->
             error_logger:error_msg("Could not check if node is stiched: ~p", [Error])