No longer trace 'ex' twice, only further up in the callstack (#1949)

This commit is contained in:
Ferenc Hammerl
2022-06-16 22:36:54 +02:00
committed by GitHub
parent ca2b1bc6d5
commit 6bc6d475f9

View File

@@ -174,8 +174,7 @@ namespace GitHub.Runner.Worker.Container.ContainerHooks
}
catch (Exception ex)
{
Trace.Error(ex);
throw new Exception($"Custom container implementation failed with error: {ex.Message} Please contact your self hosted runner administrator.", ex);
throw new Exception($"Executing the custom container implementation failed. Please contact your self hosted runner administrator.", ex);
}
}