Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi everybody!
I was looking for a way to handle the exceptions that rise in my website. They do not affect the overall behavior of the site, but as I am trying to set an android app with a webview to mirror the website, it crashes often because of all those unhandled exceptions.
Trying to debug and fix them, I noticed they are stored away from my reach (or at least that is what I think).
I talked with Shopify support and recommended me to post the issue here. Do you have any ideas on how to fix this?
I just what to handle them.
Here is an example of the console log of the home page.
Have find away to handle unhandled exceptions?
I'm trying to add this, but it seems does not trigger on errors happened on my routes.
process.on('uncaughtException', (error: Error) => {
console.error(`Uncaught Exception:`, error);
// Handle the error or perform cleanup here.
process.exit(1);
});
Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025