diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2011-08-08 16:49:45 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2011-08-08 16:49:45 +0100 |
commit | 32b92a60b767c7a52e60e2c878e37cfd7902af4b (patch) | |
tree | cf3631503658aac51eaf0b8dd7a0c3a5398b2302 | |
parent | 2b0263882cc865dfe1cff069b918c889800793b0 (diff) | |
download | rabbitmq-server-32b92a60b767c7a52e60e2c878e37cfd7902af4b.tar.gz |
Exit differently.
-rw-r--r-- | src/mirrored_supervisor.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mirrored_supervisor.erl b/src/mirrored_supervisor.erl index 5d4e195b..bd32a6fd 100644 --- a/src/mirrored_supervisor.erl +++ b/src/mirrored_supervisor.erl @@ -235,7 +235,7 @@ start_link({local, SupName}, Group, Mod, Args) -> start_link0([{local, SupName}], Group, Mod, Args); start_link({global, _SupName}, _Group, _Mod, _Args) -> - exit(mirrored_supervisors_must_not_be_globally_named). + error(badarg). start_link0(Prefix, Group, Mod, Args) -> case apply(?SUPERVISOR, start_link, |