Merge pull request #5298 from krwq/i5297
fix stack trace for unhandled exceptions in dotnet-migrate
This commit is contained in:
commit
be9134f512
1 changed files with 2 additions and 2 deletions
|
@ -84,10 +84,10 @@ namespace Microsoft.DotNet.Tools.Migrate
|
|||
Reporter.Error.WriteLine(LocalizableStrings.MigrationFailedError);
|
||||
return 1;
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
Reporter.Error.WriteLine(LocalizableStrings.MigrationFailedError);
|
||||
throw e;
|
||||
throw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue