Skip to content

Commit

Permalink
BAP-21948: Implement full stacktrace for Doctrine\ORM\NonUniqueResult…
Browse files Browse the repository at this point in the history
…Exception (#39239)
  • Loading branch information
vsoroka authored Sep 2, 2024
1 parent ad80b9d commit 7820588
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env-app
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,5 @@ ORO_OAUTH_PRIVATE_KEY_PATH='%kernel.project_dir%/var/oauth_private.key'
###> logging config ###
# Specify path to the log file
ORO_LOG_PATH="%kernel.logs_dir%/%kernel.environment%.log"
ORO_LOG_STACKTRACE_LEVEL="error"
###< logging config ###
2 changes: 2 additions & 0 deletions config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ parameters:
oauth2_public_key: '%env(resolve:ORO_OAUTH_PUBLIC_KEY_PATH)%'
oauth2_private_key: '%env(resolve:ORO_OAUTH_PRIVATE_KEY_PATH)%'
log_path: '%env(resolve:ORO_LOG_PATH)%'
log_stacktrace_level: '%env(resolve:ORO_LOG_STACKTRACE_LEVEL)%' # The minimum log message level for which an exception stacktrace should be logged. To disable the stacktrace logging an empty string or "none" value can be used.

env(ORO_SECRET): ThisTokenIsNotSoSecretChangeIt
env(ORO_DB_URL): 'postgresql://[email protected]/bap_standard'
Expand All @@ -47,6 +48,7 @@ parameters:
env(ORO_OAUTH_PUBLIC_KEY_PATH): '%kernel.project_dir%/var/oauth_public.key'
env(ORO_OAUTH_PRIVATE_KEY_PATH): '%kernel.project_dir%/var/oauth_private.key'
env(ORO_LOG_PATH): "%kernel.logs_dir%/%kernel.environment%.log"
env(ORO_LOG_STACKTRACE_LEVEL): 'error'

framework:
#esi: ~
Expand Down

0 comments on commit 7820588

Please sign in to comment.