rokucommunity / roku-debug

A compatibility wrapper around the BrightScript debug protocol https://developer.roku.com/en-ca/docs/developer-program/debugging/socket-based-debugger.md
MIT License
13 stars 9 forks source link

Better inform of debug session errors to the user #109

Open arturocuya opened 1 year ago

arturocuya commented 1 year ago

Currently the debug session logs show messages like this when there's an error connecting to a device:

DebugServer: Invalid response code: 577

In this case, the problem is known: The device requires a system update before sideloading apps. The logs could show a more human readable message, like this:

DebugServer: Error (577) - Your device requires a system update before accepting connections. Follow these instructions to manually check for updates https://support.roku.com/article/208755668.

We should do this for all known error codes.