fix stack trace for unhandled exceptions in dotnet-migrate
This commit is contained in:
parent
5fea7c3ae6
commit
22e85c2f77
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue