Log text of relevant file after an exception#27006
Conversation
d1471a7 to
cef370d
Compare
|
Change looks good but we should confirm with @DanielRosenwasser to see if its it meets user's consent criteria to have text of the file. Not sure if vs uses this stack in some way either. adding @amcasey to see if its ok. |
|
I don't believe there are GDPR concerns around logging customer content to a file that the customer controls. I'd be more concerned if we were including it in telemetry (which we're not, correct?). When we request the log from customers, it's important to make sure they understand that their content will be included and to delete it promptly once the investigation is resolved. |
|
@sheetalkamat We collect error messages (including stack traces). Is this modifying those? I thought it was just supplementing the log. |
|
It is adding text of the file to the error messages. Eg. if #20629 it will include stack trace + text of file if it was coming from some kind of file request. (completion in the file eg.) |
|
May be we should log the text only if |
|
@sheetalkamat I'm still missing something. It looks like only the error message in the log is modified - not the one sent in the message response. |
|
@amcasey This PR doesn't modify Note that |
|
@sheetalkamat @amcasey @DanielRosenwasser good to merge? |
|
@Andy-MS My understanding matches yours - this change has no effect on telemetry. Unless @sheetalkamat still has concerns, I think this is fine from a GDPR perspective. |
Suggestion from #25790 (comment)