From d1af6327520a16dccdd142ff63fd16499fa5c6cd Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 13 May 2020 15:01:02 +0200 Subject: [PATCH] Versions updated. --- cli/Squidex.CLI/Squidex.CLI/Program.cs | 3 ++- cli/Squidex.CLI/Squidex.CLI/Squidex.CLI.csproj | 2 +- .../Squidex.ClientLibrary/Management/Custom.cs | 9 ++++++++- .../Squidex.ClientLibrary/Squidex.ClientLibrary.csproj | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/cli/Squidex.CLI/Squidex.CLI/Program.cs b/cli/Squidex.CLI/Squidex.CLI/Program.cs index c38ba060..b44dd0e4 100644 --- a/cli/Squidex.CLI/Squidex.CLI/Program.cs +++ b/cli/Squidex.CLI/Squidex.CLI/Program.cs @@ -19,6 +19,7 @@ using Squidex.CLI.Commands.Implementation.Sync.Schemas; using Squidex.CLI.Commands.Implementation.Sync.Workflows; using Squidex.CLI.Configuration; +using Squidex.ClientLibrary.Management; namespace Squidex.CLI { @@ -57,7 +58,7 @@ public static int Main(string[] args) } catch (Exception ex) { - Console.WriteLine("ERROR: {0}", ex.Message); + Console.WriteLine("ERROR: {0}", ex); return -1; } } diff --git a/cli/Squidex.CLI/Squidex.CLI/Squidex.CLI.csproj b/cli/Squidex.CLI/Squidex.CLI/Squidex.CLI.csproj index 7f3c6a3e..c2aa8ebf 100644 --- a/cli/Squidex.CLI/Squidex.CLI/Squidex.CLI.csproj +++ b/cli/Squidex.CLI/Squidex.CLI/Squidex.CLI.csproj @@ -14,7 +14,7 @@ netcoreapp3.1 true sq - 5.1 + 5.2 diff --git a/csharp/Squidex.ClientLibrary/Squidex.ClientLibrary/Management/Custom.cs b/csharp/Squidex.ClientLibrary/Squidex.ClientLibrary/Management/Custom.cs index 3f7d5e2d..9cdfd880 100644 --- a/csharp/Squidex.ClientLibrary/Squidex.ClientLibrary/Management/Custom.cs +++ b/csharp/Squidex.ClientLibrary/Squidex.ClientLibrary/Management/Custom.cs @@ -25,7 +25,14 @@ public override string ToString() if (Details?.Count > 0) { - sb.Append(": "); + if (!Message.EndsWith(".", StringComparison.OrdinalIgnoreCase) && + !Message.EndsWith(":", StringComparison.OrdinalIgnoreCase) && + !Message.EndsWith(",", StringComparison.OrdinalIgnoreCase)) + { + sb.Append(":"); + } + + sb.Append(" "); sb.Append(string.Join(", ", Details)); } diff --git a/csharp/Squidex.ClientLibrary/Squidex.ClientLibrary/Squidex.ClientLibrary.csproj b/csharp/Squidex.ClientLibrary/Squidex.ClientLibrary/Squidex.ClientLibrary.csproj index 2c02b49e..07ccc840 100644 --- a/csharp/Squidex.ClientLibrary/Squidex.ClientLibrary/Squidex.ClientLibrary.csproj +++ b/csharp/Squidex.ClientLibrary/Squidex.ClientLibrary/Squidex.ClientLibrary.csproj @@ -10,7 +10,7 @@ logo-squared.png MIT https://github.com/Squidex/squidex/ - 5.0.0 + 5.1.0