Skip to content

Fix EventMetadata construction in TryDownloadPrefetchPacks#967

Merged
wilbaker merged 1 commit into
microsoft:masterfrom
wilbaker:fix_dl_prefetch_pack_log_exception
Mar 26, 2019
Merged

Fix EventMetadata construction in TryDownloadPrefetchPacks#967
wilbaker merged 1 commit into
microsoft:masterfrom
wilbaker:fix_dl_prefetch_pack_log_exception

Conversation

@wilbaker
Copy link
Copy Markdown
Member

Fixes #960

TryDownloadPrefetchPacks was not calling ToString on the exception it was adding to the EventMetadata. Rather that calling ToString the code has been updated to pass the exception to CreateEventMetadata which will do the right thing.

@wilbaker wilbaker added this to the M150 milestone Mar 26, 2019
Copy link
Copy Markdown
Member

@nickgra nickgra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks for the speedy turnaround! Should we open a work item to put up a guard rail to prevent programmers from making this mistake again?

@wilbaker
Copy link
Copy Markdown
Member Author

Should we open a work item to put up a guard rail to prevent programmers from making this mistake again?

Filed #968 for this

@wilbaker wilbaker self-assigned this Mar 26, 2019
@wilbaker wilbaker merged commit d52ce43 into microsoft:master Mar 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants