Skip to content

Issue #29: WindowsErrorReporting is unimplemented#224

Merged
hpsin merged 4 commits into
microsoft:masterfrom
CBaud:master
Feb 27, 2017
Merged

Issue #29: WindowsErrorReporting is unimplemented#224
hpsin merged 4 commits into
microsoft:masterfrom
CBaud:master

Conversation

@CBaud
Copy link
Copy Markdown
Contributor

@CBaud CBaud commented Feb 25, 2017

No description provided.

@msftclas
Copy link
Copy Markdown

@CBaud,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

I had to dig into behavior to figure this out and test across multiple devices to figure out how this API actually worked - hopefully this helps other developers not have to do the same thing
Copy link
Copy Markdown
Contributor

@hpsin hpsin left a comment

Choose a reason for hiding this comment

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

This looks great! I wish the REST API was better suited to creating something nice here, but you did the best that was possible :)

Thank you!

/// <param name="file">The name of the file to download from the report.</param>
/// <returns>Byte array containing the file data</returns>
public async Task<byte[]> GetWindowsErrorReportingFileAsync(string user, string type, string name, string file)
{
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This signature really points out how bad our REST API is - have to get fields from 2 different requests and 3 different objects to fill this in.

@hpsin hpsin merged commit faa6f8b into microsoft:master Feb 27, 2017
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.

3 participants