diff options
author | Brian Cully <bjc@kublai.com> | 2008-03-01 14:25:54 -0500 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2008-03-01 14:25:54 -0500 |
commit | d365c3a2be018d93125163974547623cde2b4675 (patch) | |
tree | 4a324e286b86057a741ec88cbd18936e57919f0b | |
parent | 5c0b622f88b8d438fa85f47f45db54b5bdf167c2 (diff) | |
download | mysqlerl-d365c3a2be018d93125163974547623cde2b4675.tar.gz mysqlerl-d365c3a2be018d93125163974547623cde2b4675.zip |
Crash if we get a bad message.
-rw-r--r-- | src/mysqlerl_connection.erl | 4 |
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. |