From e514b66b261c24257b149ecc6aaa52195509a2b5 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Tue, 31 Jul 2018 15:45:54 +0300 Subject: Working on external bridge. --- Software/Visual_Studio/Tango.Transport/ResponseErrorException.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Software/Visual_Studio/Tango.Transport/ResponseErrorException.cs') diff --git a/Software/Visual_Studio/Tango.Transport/ResponseErrorException.cs b/Software/Visual_Studio/Tango.Transport/ResponseErrorException.cs index 81b162eac..3bb5023ca 100644 --- a/Software/Visual_Studio/Tango.Transport/ResponseErrorException.cs +++ b/Software/Visual_Studio/Tango.Transport/ResponseErrorException.cs @@ -24,7 +24,7 @@ namespace Tango.Transport /// Initializes a new instance of the class. /// /// The error. - public ResponseErrorException(MessageContainer container) : base("Response " + container.Type.ToString() + " returned with error " + container.Error.ToString() + " - " + container.ErrorMessage) + public ResponseErrorException(MessageContainer container) : base(String.Format("{0} has returned with an error ({1}).{2}{3}", container.Type.ToString(), container.Error.ToString(), Environment.NewLine, container.ErrorMessage)) { Container = container; } -- cgit v1.3.1