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
-
Leya17837ytry {
//All the code goes here
catch (Exception e) {
System.out.println("Something went wrong. Good luck for the next run...");
}
Error handling done right 😎 -
I actually had to fix client's app and it actually had every code block wrapped in try catch...
-
Well, sometimes that's the only option left. I need my Testsuite to run reliably over night so any error selenium throws needs to be logged but I can't have it stop the entire show.
Oh boy
undefined
roll safe.