fix: errors preventing builds
This commit is contained in:
2
.env
2
.env
@@ -13,7 +13,7 @@
|
|||||||
#
|
#
|
||||||
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
|
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
|
||||||
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
|
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
|
||||||
|
APP_URL=
|
||||||
###> symfony/framework-bundle ###
|
###> symfony/framework-bundle ###
|
||||||
APP_ENV=prod
|
APP_ENV=prod
|
||||||
APP_SECRET=
|
APP_SECRET=
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ return [
|
|||||||
OneToMany\RichBundle\RichBundle::class => ['all' => true],
|
OneToMany\RichBundle\RichBundle::class => ['all' => true],
|
||||||
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
|
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
|
||||||
Symfony\UX\StimulusBundle\StimulusBundle::class => ['all' => true],
|
Symfony\UX\StimulusBundle\StimulusBundle::class => ['all' => true],
|
||||||
Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['prod' => true, 'dev' => true, 'test' => true],
|
Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true],
|
||||||
Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true],
|
Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true],
|
||||||
Symfony\UX\LiveComponent\LiveComponentBundle::class => ['all' => true],
|
Symfony\UX\LiveComponent\LiveComponentBundle::class => ['all' => true],
|
||||||
Symfony\Bundle\MercureBundle\MercureBundle::class => ['all' => true],
|
Symfony\Bundle\MercureBundle\MercureBundle::class => ['all' => true],
|
||||||
|
|||||||
@@ -1,40 +1,43 @@
|
|||||||
sentry:
|
when@prod: &prod
|
||||||
register_error_listener: true # Disables the ErrorListener to avoid duplicated log in sentry
|
sentry:
|
||||||
register_error_handler: true # Disables the ErrorListener, ExceptionListener and FatalErrorListener integrations of the base PHP SDK
|
register_error_listener: true # Disables the ErrorListener to avoid duplicated log in sentry
|
||||||
|
register_error_handler: true # Disables the ErrorListener, ExceptionListener and FatalErrorListener integrations of the base PHP SDK
|
||||||
|
|
||||||
options:
|
options:
|
||||||
release: 'torsearch@%app.version%'
|
release: 'torsearch@%app.version%'
|
||||||
enable_logs: true
|
enable_logs: true
|
||||||
traces_sample_rate: 1
|
traces_sample_rate: 1
|
||||||
profiles_sample_rate: 1
|
profiles_sample_rate: 1
|
||||||
attach_stacktrace: true
|
attach_stacktrace: true
|
||||||
|
|
||||||
tracing:
|
tracing:
|
||||||
enabled: true
|
|
||||||
dbal: # DB queries
|
|
||||||
enabled: true
|
|
||||||
cache: # cache pools
|
|
||||||
enabled: true
|
|
||||||
twig: # templating engine
|
|
||||||
enabled: true
|
enabled: true
|
||||||
|
dbal: # DB queries
|
||||||
|
enabled: true
|
||||||
|
cache: # cache pools
|
||||||
|
enabled: true
|
||||||
|
twig: # templating engine
|
||||||
|
enabled: true
|
||||||
|
|
||||||
services:
|
services:
|
||||||
# (Optionally) Configure the breadcrumb handler as a service (needed for the breadcrumb Monolog handler)
|
# (Optionally) Configure the breadcrumb handler as a service (needed for the breadcrumb Monolog handler)
|
||||||
Sentry\Monolog\BreadcrumbHandler:
|
Sentry\Monolog\BreadcrumbHandler:
|
||||||
arguments:
|
arguments:
|
||||||
- '@Sentry\State\HubInterface'
|
- '@Sentry\State\HubInterface'
|
||||||
- !php/const Monolog\Logger::INFO # Configures the level of messages to capture as breadcrumbs
|
- !php/const Monolog\Logger::INFO # Configures the level of messages to capture as breadcrumbs
|
||||||
monolog:
|
monolog:
|
||||||
handlers:
|
handlers:
|
||||||
# (Optionally) Register the breadcrumb handler as a Monolog handler
|
# (Optionally) Register the breadcrumb handler as a Monolog handler
|
||||||
sentry_breadcrumbs:
|
sentry_breadcrumbs:
|
||||||
type: service
|
type: service
|
||||||
name: sentry_breadcrumbs
|
name: sentry_breadcrumbs
|
||||||
id: Sentry\Monolog\BreadcrumbHandler
|
id: Sentry\Monolog\BreadcrumbHandler
|
||||||
# Register the handler as a Monolog handler to capture messages as events
|
# Register the handler as a Monolog handler to capture messages as events
|
||||||
sentry:
|
sentry:
|
||||||
type: sentry
|
type: sentry
|
||||||
level: !php/const Monolog\Logger::ERROR # Configures the level of messages to capture as events
|
level: !php/const Monolog\Logger::ERROR # Configures the level of messages to capture as events
|
||||||
hub_id: Sentry\State\HubInterface
|
hub_id: Sentry\State\HubInterface
|
||||||
fill_extra_context: true # Enables sending monolog context to Sentry
|
fill_extra_context: true # Enables sending monolog context to Sentry
|
||||||
process_psr_3_messages: false # Disables the resolution of PSR-3 placeholders in reported messages
|
process_psr_3_messages: false # Disables the resolution of PSR-3 placeholders in reported messages
|
||||||
|
|
||||||
|
when@dev: *prod
|
||||||
|
|||||||
Reference in New Issue
Block a user