aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mysqlerl_connection.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mysqlerl_connection.erl b/src/mysqlerl_connection.erl
index ca44252..bc515a2 100644
--- a/src/mysqlerl_connection.erl
+++ b/src/mysqlerl_connection.erl
@@ -77,7 +77,7 @@ handle_query(Ref, Query) ->
Other ->
error_logger:warning_msg("Got unknown query response: ~p~n",
[Other]),
- {badreply, Other}
+ exit({badreply, Other})
end.
handle_test(Ref, Str) ->
@@ -88,5 +88,5 @@ handle_test(Ref, Str) ->
Other ->
error_logger:warning_msg("Got unknown test response: ~p~n",
[Other]),
- {badreply, Other}
+ exit({badreply, Other})
end.