Skip to content

Environment

In Avocado you can set a environment type. It can be DEVELOPMENT and PRODUCTION.

If you choose dev mode http errors throws more informations about an error but production mode provides only information about internal server error so client doesnt see a dev logs.

yaml
avocado:
  environment:
    # PRODUCTION or DEVELOPMENT
    type: DEVELOPMENT
    throws: false