Skip to content

Commit

Permalink
balance output
Browse files Browse the repository at this point in the history
  • Loading branch information
dansiegel committed Mar 22, 2020
1 parent e5f21a7 commit d20d3dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Mobile.BuildTools/Tasks/BuildToolsTaskBase.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
Expand Down Expand Up @@ -54,6 +55,7 @@ public abstract class BuildToolsTaskBase : Task, IBuildConfiguration
Platform IBuildConfiguration.Platform =>
TargetFrameworkIdentifier.GetTargetPlatform();

[SuppressMessage("Design", "CA1031:Do not catch general exception types", Justification = "We are aborting the build if an Exception has been logged.")]
public sealed override bool Execute()
{
try
Expand All @@ -76,7 +78,7 @@ public sealed override bool Execute()
if(ConfigHelper.Exists(ConfigurationPath)
&& ConfigHelper.GetConfig(ConfigurationPath).Debug)
{
Log.LogWarning("******** DEBUG OUTPUT ****************");
Log.LogWarning("**************** DEBUG OUTPUT ****************");
Log.LogWarning(ex.ToString());
}
}
Expand Down

0 comments on commit d20d3dd

Please sign in to comment.