From 95c43132c7d60f88ee2a1b2e568aca62c2a38c3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sat, 28 Jun 2014 10:38:14 +0200 Subject: [PATCH] only display lint check name when something goes wrong --- OpenRA.Lint/YamlChecker.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Lint/YamlChecker.cs b/OpenRA.Lint/YamlChecker.cs index 029e42c04e..7c8e3ce487 100644 --- a/OpenRA.Lint/YamlChecker.cs +++ b/OpenRA.Lint/YamlChecker.cs @@ -84,7 +84,7 @@ namespace OpenRA.Lint } catch (Exception e) { - EmitError("Failed with exception: {0}".F(e)); + EmitError("{0} failed with exception: {0}".F(customPassType, e)); } } }