Skip to content

Instantly share code, notes, and snippets.

@devster
Created February 22, 2018 12:20
Show Gist options
  • Save devster/ef36650940040d5cbd52e26c18f140e6 to your computer and use it in GitHub Desktop.
Save devster/ef36650940040d5cbd52e26c18f140e6 to your computer and use it in GitHub Desktop.
How to handle null var env with symfony4
parameters:
env(SENTRY_DSN): ~
services:
sentry:
dsn: '%env(resolve:SENTRY_DSN)%' // note the resolve directive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment