Closed techenby closed 1 year ago
Added Configuration File for Sentry Laravel SDK
A new configuration file (config/sentry.php
) has been added, which includes various options for the Sentry Laravel SDK. This is critical as it aids the system in defining how the Sentry tool should behave in our Laravel application.
Update on Dependency Lists
Changes have been made to three files: composer.json
, package.json
, and package-lock.json
. These changes indicate that we've added new external libraries to our project. Specifically, we added "sentry/sentry-laravel": "^3.8"
and "@sentry/browser": "^7.40.0"
which are critical tools for error tracking and monitoring in web applications. This will be beneficial in identifying, understanding, and rectifying issues faster - improving the overall robustness of our system.
Updated JavaScript File for Sentry Initialization
The file resources/js/app.js
has been updated to import and initiate Sentry
from the @sentry/browser
package. This means that our Website is now utilizing Sentry's browser error tracking - a step that will significantly enhance our capability to monitor errors that users may encounter on the website. This change will help improve the browsing experience for our users by allowing us to quickly identify and fix any issues.
I still prefer Flare but 🤷🏻 Sentry is cheaper... aka free.