diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2010-07-19 08:09:08 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2010-07-19 08:09:08 +0100 |
commit | f3815f496b9d9f5660925e265a86d1127423a961 (patch) | |
tree | c0c7ebc5eeb67afbf462144d0e0757cd65ca5c0d | |
parent | 299896e4a89930cd030a93bd70a0cfd70361559d (diff) | |
parent | cefcbd3fe792b5e1493c75261e8777fe54512a73 (diff) | |
download | rabbitmq-server-f3815f496b9d9f5660925e265a86d1127423a961.tar.gz |
merge default into bug21673
-rw-r--r-- | src/rabbit_tests.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_tests.erl b/src/rabbit_tests.erl index becb9a83..ec6fbe3f 100644 --- a/src/rabbit_tests.erl +++ b/src/rabbit_tests.erl @@ -1346,7 +1346,7 @@ handle_hook(HookName, Handler, Args) -> A = atom_to_list(HookName) ++ "_" ++ atom_to_list(Handler) ++ "_fired", put(list_to_atom(A), Args). bad_handle_hook(_, _, _) -> - bad:bad(). + exit(bad_handle_hook_called). extra_arg_hook(Hookname, Handler, Args, Extra1, Extra2) -> handle_hook(Hookname, Handler, {Args, Extra1, Extra2}). |