2026-11-02 00:13 UTC
In theory, I’m inclined to agree with you. But error handling in your code is not at all straightforward. Just successfully catching an error so the program can exit gracefully can be difficult. Classifying different error conditions and displaying an appropriate message is even worse.
Basically, the logs exist for exactly this purpose. Just how it works.
Replies (1)
-
@anewfox@lemmy.zip 2026-11-02 00:33
Basically, the logs exist for exactly this purpose. Just how it works. it is wild for someone to say this immediately after saying “actually they can’t display the error because it’s too hard” and somehow not realize in the middle of typing how ridiculous it is trying to square those two claims. additionally, every logging library worth using lets you log to multiple outputs, e.g. disk and screen.