• Thorry@feddit.org
    link
    fedilink
    arrow-up
    0
    ·
    2 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);