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
-
Leya17768ytry {
//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.
-
Leya17768y@Jilano Got an error like "Something went wrong and we don't know why. Restart the client and try again." in League of Legends once. But yeah windows errors are not better 😂
Oh boy
undefined
roll safe.