Catch your bugs before your customers do

Head of Data Science @MewsSystems; Former PhD student in CS Machine Learning @Matfyz #dataengineering #learningfromdata #machinelearning #javascript #python

You’ve probably been there. Deploying your app to production, you might even have backend error logs setup, but whenever there is a javascript error, you wait for your customers to report it. And you should not.

At Mews, we rely heavily on monitoring and automated error reporting. We use LogEntries to keep track of everything that happens on the backend and frontend of our products and we have NewRelic to have insights into the app performance.

And, when some unexpected errors happen, there is Sentry. We don’t want to see ourselves in a situation such as one of the airways companies.

It’s even worse when you fail to respond to a reported issue appropriately, but that’s different story. At Mews, we try hard to take really great care of our clients.

So, how difficult it is to set this up? Not much.

You sign up for a free account at to get the your dsn.

Add JS script to your website.

<script src="" crossorigin="anonymous"></script>

Initialize the Sentry with the dsn obtained at

    dsn: 'https://<key><project>' 

And, depending how your Javacript code is organised, either wrap the main JS call into try, catch

try {  
} catch (err) {

or just rely on global handlers that Sentry set up for you to capture uncaught exceptions and unhandled rejections.

It’s important not to rely on your QA team or customers to find actual errors in your system especially if you want to scale up your solution. Automate your processes as much as you can.

Head of Data Science @MewsSystems; Former PhD student in CS Machine Learning @Matfyz #dataengineering #learningfromdata #machinelearning #javascript #python
Share on twitter
Share on facebook
Share on linkedin

More About

Mews Systems Copyright ©
Website by

Cookie Management

Here you can manage your preferences regarding cookies:

Essential cookies

Always active
Essential cookies enable core functionalities of the website such as marking your data inputs, network management and accessibility.

Analytical cookies

Analytical cookies help us improve our website by collecting and reporting information on how you use it. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.

Advertising cookies

Advertising cookies for delivering tailored and customized advertising.