Created
June 2, 2014 18:34
-
-
Save WrathOfChris/14d739f9daebaa068f39 to your computer and use it in GitHub Desktop.
check_node with error dump
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/check_node.erl b/src/check_node.erl | |
index aeff65e..3905e5b 100644 | |
--- a/src/check_node.erl | |
+++ b/src/check_node.erl | |
@@ -68,10 +68,10 @@ retry_connect(Name0, Number, Node, Cookie) -> | |
end; | |
{error, Reason} -> | |
case Reason of | |
- {shutdown, _} -> | |
+ {shutdown, Foo} -> | |
case Number < 250 of | |
true -> retry_connect(Name0, Number + 1, Node, Cookie); | |
- false -> {unknown, "Couldn't find unused nodename, too many concurrent checks.", []} | |
+ false -> {unknown, "Foo ~p", [Foo]} | |
end; | |
_ -> | |
case check_cookie() of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment