Skip to content

Commit 6327091

Browse files
Merge pull request #687 from solidify/feature/error-logging-when-creating-workitem
Added error logging when creating workitem
2 parents c1bc0d8 + 3fb42d8 commit 6327091

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WorkItemMigrator/WorkItemImport/WitClient/WitClientWrapper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public WorkItem CreateWorkItem(string wiType, DateTime? createdDate = null, stri
6767
}
6868
catch (Exception e)
6969
{
70-
Logger.Log(LogLevel.Error, "Error when creating new Work item: " + e.Message);
70+
Logger.Log(LogLevel.Error, $"Error when creating new Work item: {e.Message} - {(e.InnerException != null ? e.InnerException.Message : "")}");
7171
return null;
7272
}
7373

0 commit comments

Comments
 (0)