programming, rust
@LunaDragofelis @follpvosten but in production systems you absolutely handle itI doubt it would be a good idea to have just
catch Exception that catches every random exception, since different types of errors should (probably) be handled differently instead of "just log and discard" (tho ig it depends from system)
the problem with exceptions is that, while yeah sure u don't have to handle them at each step, now I have no idea what's goin in that function. It would require more effort to actually learn if a function can fail, and would potentially let someone accidentally just leave it be, which would then cause more issues.
Explicit error handling should be the default in production systems, especially in such critical architecture as cloudflare.