Commits

Anonymous committed 782c158

better exception atom

Comments (0)

Files changed (1)

src/emongo_server.erl

             Documents = emongo_bson:decode(Resp#response.documents),
             Resp#response{documents=Documents}
     after 0 ->
-            exit(timeout)
+            exit(emongo_timeout)
     end;
 
 recv(Pid, ReqID, Timeout, Tag) ->