microsoft / sfs-client

Simple File Solution (SFS) Client
MIT License
15 stars 13 forks source link

Improve logging when the content type is wrong #221

Open arthuraraujo-msft opened 1 day ago

arthuraraujo-msft commented 1 day ago

Related Issues

Why is this change being made?

In the mentioned issue, an acquisition failed in a scan from winget because one of the files of a piece of content did not have the "FileMoniker" field. The logs don't say which file failed validation, they just say something was not of the App type.

What is being changed?

Adding more information about the entity that failed content type validation on the log messages.

How was the change tested?

File and Version entity tests were modified to check for the new message.