From a24bb50190e904ff49f6f26223d10b485dc32e5b Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Thu, 9 Jul 2020 13:20:22 -0400 Subject: [PATCH] More integration test sanity --- tests/Tgstation.Server.Tests/IntegrationTest.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/Tgstation.Server.Tests/IntegrationTest.cs b/tests/Tgstation.Server.Tests/IntegrationTest.cs index 6800d2ead8..2a2d5ab07b 100644 --- a/tests/Tgstation.Server.Tests/IntegrationTest.cs +++ b/tests/Tgstation.Server.Tests/IntegrationTest.cs @@ -274,6 +274,11 @@ namespace Tgstation.Server.Tests await new InstanceManagerTest(adminClient.Instances, adminClient.Users, server.Directory).RunPostTest(cancellationToken); } } + catch(ApiException ex) + { + Console.WriteLine($"[{DateTimeOffset.Now}] TEST ERROR: {ex.ErrorCode}: {ex.Message}\n{ex.AdditionalServerData}"); + throw; + } catch (Exception ex) { Console.WriteLine($"[{DateTimeOffset.Now}] TEST ERROR: {ex}");