From 258132fa461ab8144de90c71b2dcf86c7b591214 Mon Sep 17 00:00:00 2001 From: Jonathan Goldstein Date: Thu, 30 Sep 2021 16:37:18 -0700 Subject: [PATCH] Printing error messages on attach failure --- AmbrosiaLib/Ambrosia/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AmbrosiaLib/Ambrosia/Program.cs b/AmbrosiaLib/Ambrosia/Program.cs index 6649279a..1d39b038 100644 --- a/AmbrosiaLib/Ambrosia/Program.cs +++ b/AmbrosiaLib/Ambrosia/Program.cs @@ -3226,7 +3226,7 @@ private void ProcessSyncLocalMessage(ref FlexReadBuffer localServiceBuffer, Flex if ((connectionResult1 != CRAErrorCode.Success) || (connectionResult2 != CRAErrorCode.Success) || (connectionResult3 != CRAErrorCode.Success) || (connectionResult4 != CRAErrorCode.Success)) { - Trace.TraceError("Error attaching " + ServiceName() + " to " + destination); + Trace.TraceError("Error attaching " + ServiceName() + " to " + destination + "\nCRAResults:"+ " " + connectionResult1.ToString() + " " + connectionResult2.ToString() + " " + connectionResult3.ToString() + " " + connectionResult4.ToString()); // BUGBUG in tests. Should exit here. Fix tests then delete above line and replace with this OnError(0, "Error attaching " + _serviceName + " to " + destination); } }