Closed dan-tang-ssd closed 2 months ago
Introduction of Sentry Configuration in Example Environment File
Added the SENTRY_LARAVEL_DSN
and SENTRY_TRACES_SAMPLE_RATE
variables to the sample environment file .env.example
. These variables are needed to set up the Sentry error monitoring service.
Integration of Sentry in Exceptions Handler
Incorporated Sentry in the exceptions handling file app/Exceptions/Handler.php
, which allows tracking and monitoring of application errors more effectively.
Inclusion of Sentry Laravel in Project's Dependencies
The Sentry Laravel library was added to the project's dependencies in the composer.json
file. Version ^4.6
of the library will be used, adding Sentry's error tracking capabilities specifically designed for Laravel applications.
Added Sentry Configuration File
A new file config/sentry.php
was introduced. This file holds the configurations related to the Sentry service, allowing for more effective error monitoring and tracking.
Added Sentry Vue.js Library to Project's Dependencies
The Sentry library for Vue.js, version ^7.40.0
, was also added as a dependency in the package.json
configuration file, expanding the application's error tracking capabilities to the Vue.js frontend code.
This PR is submitted to add sentry.
It contains below changes: