Unable to load image

If your program doesn't log all errors (at very least to stdout) you're a terrible person

Tried starting up my youtube client (freetube) today only to find over half my subscriptions won't load. Why won't they? No idea. The program logs nothing and the only error message it has is "Something went wrong"

And to top it off the settings page doesn't have a search bar so I get to expand every single tab looking for anything to do with logs.

This is what I get for using something made in javascript

34
Jump in the discussion.

No email address required.

https://i.rdrama.net/images/17065685852532992.webp

It's amazing how hard this is for codecels to follow. If you're writing a CLI app, then also take in an enum CLI argument for the log level. Another way is to default to INFO, use -v for DEBUG, use -vv for TRACE.

Also, devs who log to stdout (especially in library code) = :marseywebshitgenocide:

Jump in the discussion.

No email address required.

>logging

:#marseyno:

Jump in the discussion.

No email address required.

I have a lot of code for a fairly popular profuctivity app. It does things the api cant too... i was thinking of releasing it on GitHub. What are some considerations? !codecels

Jump in the discussion.

No email address required.

thx i gonna paste this is groomercord teams chat to make everyone rework their logging :marseydevil:

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.