Merge pull request #5298 from krwq/i5297

fix stack trace for unhandled exceptions in dotnet-migrate
This commit is contained in:
Livar 2017-01-12 19:46:10 -08:00 committed by GitHub
commit be9134f512

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;
} }
} }
} }