Skip to content

RepoRegistry: Properly log error from TryGetNormalizedPath#217

Merged
derrickstolee merged 1 commit intomicrosoft:masterfrom
derrickstolee:auto-mount-info
Aug 28, 2018
Merged

RepoRegistry: Properly log error from TryGetNormalizedPath#217
derrickstolee merged 1 commit intomicrosoft:masterfrom
derrickstolee:auto-mount-info

Conversation

@derrickstolee
Copy link
Contributor

While investigating a user issue with auto mount registration, I noticed that their logs contained a failure from TryGetNormalizedPath, but did not log the error message. Add that message to the logs so we can properly diagnose the issue.

Further, the 'normalizedEnlistmentRootPath' parameter becomes null, so do not add it to the dictionary in that case. Instead, it should be logged by the RelatedWarning.

Signed-off-by: Derrick Stolee dstolee@microsoft.com

While investigating a user issue with auto mount registration, I noticed that their logs contained a failure from TryGetNormalizedPath, but did not log the error message. Add that message to the logs so we can properly diagnose the issue.

Further, the 'normalizedEnlistmentRootPath' parameter becomes null, so do not add it to the dictionary in that case. Instead, it should be logged by the RelatedWarning.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
@derrickstolee derrickstolee merged commit 4fec348 into microsoft:master Aug 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants