Add a debug mode
I'd add a method to activate debug mode in the module or similar, where it prints raw json data if the parsing fails and similar things
- [ ] Json decoder error
- [ ] Other suggestion?
How would you go about implementing this?
using logging?
faretek @.***> schrieb am Fr., 30. Mai 2025, 13:27:
FAReTek1 left a comment (TimMcCool/scratchattach#327) https://github.com/TimMcCool/scratchattach/issues/327#issuecomment-2922116952
How would you go about implementing this?
— Reply to this email directly, view it on GitHub https://github.com/TimMcCool/scratchattach/issues/327#issuecomment-2922116952, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATCKMZU24UCAM2BFH3WYTB33BA6CTAVCNFSM6AAAAABVA3DWPGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMRSGEYTMOJVGI . You are receiving this because you authored the thread.Message ID: @.***>
Ok.. I think it might also be a good idea to replace the print() statements when using get_user() or get_project etc with warnings/logging.warning instead.
I wonder if using rich.console.Console could be a good idea.