honeybadger v0.4.0 Release Notes
Release Date: 2016-02-23 // about 8 years ago-
🔄 Changed
Due to the
Mix.env/0
function always being set toprod
for dependencies and Mix being compiled out of applications by exrm, we now require you to explicitly declare yourenvironment_name
for every environment in yourconfig.exs
files.Example: # config/dev.exs config :honeybager, environment_name: :dev
Doing this will ensure you get accurate environment information for exceptions that happen at runtime as well as compile time. You can also set the
environment_name
setting aMIX_ENV
environment variable.Example: $ MIX_ENV=prod mix phoenix.server
Note: setting
environment_name
in your config files takes higher precedence than theMIX_ENV
environment variable.