Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Voxera115858yWe had those to. Finally I grew tired of having to debug every issue to try to find out what happened and added logging that also when possible included the last sql query.
This has helped fix hundreds of bugs and many times even let us fix things before the customer even gat to call support. (When the quick fix is just to correct a value in the db while you test the real fix before new release)
Logging is worth so very much and after 14 years we are still adding more logging to catch problems early.
Right now we are starting to log execution time for all pages an sql queries even on live to find edge cases where a few customers get longer load times some times.
Those impossible problems to debug as you rarely can recreate them. -
ktor118yMake them fix it! We do static analysis early. Robot points a finger of shame on everybody who dares to request a pull of such horror lines. System works very well. Reviewer will never pass it through.
-
Not if you are writing a REST API. That shit isn't at all entertained. Although in reality it shouldn't be entertained anywhere.
-
@ChappIO Come on dude, I still do it for my quick side projects. I think we're still people who think catching exceptions, logging and testing are something fancy. 😜
-
ChappIO46978y@aswinramakrish I tend to abandon my side projects the first time I run into untraceable bugs. By not doing this I prevent those bugs. :p
I call what you do Pokemon exception handling. You gotta catch them all.
Related Rants
99% of the devs be like
catch(Exception e)
{
// Not a single fuck given
}
undefined
exception
catch