• Thorry@feddit.org
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      15 days ago

      // 🤦 You are totally right! Simply logging the 🚨 error to the console isn't proper error handling. 🫣 We now throw an exception instead. throw new ApplicationException(error);