Skip to content
This repository was archived by the owner on May 27, 2022. It is now read-only.

Commit 9a52991

Browse files
authored
Merge pull request #6 from AntidoteDB/error-handling
Error handling
2 parents 1721795 + 09a2f88 commit 9a52991

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/antidotec_pb.erl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ update_objects(Pid, Updates, {static, TxId}) ->
116116
{commit_transaction, CommitTimeStamp} ->
117117
antidotec_pb_socket:store_commit_time(Pid, CommitTimeStamp),
118118
ok;
119-
{error, Reason} -> {error, Reason}
119+
{error, Reason} -> {error, Reason};
120+
Other -> {error, Other}
120121
end
121122
end.
122123

0 commit comments

Comments
 (0)