244
Comments
  • 5
    I love this meme so much.
  • 26
    try {
    //All the code goes here
    catch (Exception e) {
    System.out.println("Something went wrong. Good luck for the next run...");
    }

    Error handling done right 😎
  • 1
    Haha whats the name of this meme?
  • 4
    I actually had to fix client's app and it actually had every code block wrapped in try catch...
  • 0
    Classic.
  • 5
    @ElCapitan That looks a lot like Windows 10 errors... (Minus the smiley)
  • 1
    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.
  • 0
    You still get an exception. You just chose to do something with it.
  • 0
    My PM actually suggested me to do this in the main.m of an iOS app :-D
  • 1
    @boubalo "roll safe" i think
  • 1
    At least users will understand that an error happened.
  • 2
    @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 😂
  • 0
    Yuuup
Add Comment