fix stack trace for unhandled exceptions in dotnet-migrate

This commit is contained in:
Krzysztof Wicher 2017-01-12 16:08:54 -08:00
parent 5fea7c3ae6
commit 22e85c2f77

View file

@ -84,10 +84,10 @@ namespace Microsoft.DotNet.Tools.Migrate
Reporter.Error.WriteLine(LocalizableStrings.MigrationFailedError); Reporter.Error.WriteLine(LocalizableStrings.MigrationFailedError);
return 1; return 1;
} }
catch (Exception e) catch (Exception)
{ {
Reporter.Error.WriteLine(LocalizableStrings.MigrationFailedError); Reporter.Error.WriteLine(LocalizableStrings.MigrationFailedError);
throw e; throw;
} }
} }
} }