nx-dreport
nx-dreport copied to clipboard
Selective error report wiping
Are there any plans to support targeting specific reports in compilation time, either via the Module number or by index (or another way)?
EDIT: Just a heads up: Haven't checked the save file internal format. I'll check it and close this issue if it's impossible. EDIT2: So, this is possible via normal ipc communication, if erpt:c (nn::erpt::sf::IContext) has a "DeleteReport"
Well do you have any use cases for this? I mean we are already deleting the save of the erpt, any reasons of why it would be needed to filter reports?
In any cases, that would also mean that dreport will need to wait for erpt to be running to delete reports. In this scenario, it's possible that eupld would be able to upload the said reports before we could delete them.
The filtering can be good for cases that a part of the current error reports is already sent. And we just want to erase the e.g. libnx errors.
This is all, to not trigger any check that may exist. For example, empty report list was sent, but device was not factory reset.
Of course as you said, having the send error report option on, may instant upload the reports and so that feature does not matter. But there are cases that the reports can be forcibly uploaded with that option off.
For people that have not yet defiled their switch, couldn't we kinda like... i dunno, backup the current errorlog and just paste this backup instead of wiping the whole thing clean?