Fix logging error
This commit is contained in:
parent
78433197b3
commit
bcd656daec
1 changed files with 2 additions and 4 deletions
|
@ -122,10 +122,8 @@ namespace Microsoft.DotNet.ProjectModel.Server
|
|||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
// TODO: review error handing logic
|
||||
|
||||
_log.LogError($"Error occurred: {ex}");
|
||||
|
||||
_log.LogError("Error occurs: {0}", ex.ToString());
|
||||
|
||||
var error = new ErrorMessage
|
||||
{
|
||||
Message = ex.Message
|
||||
|
|
Loading…
Add table
Reference in a new issue