-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
I have config like this in config/config.exs:
config :logger, backends: [{ Airbrake.LoggerBackend, :error }, :console]
when I run
mix conform.new
I get the following
[
extends: [],
import: [],
mappings: [
"logger.backends": [
commented: false,
datatype: [
list: [
{:atom, :atom},
:atom
]
],
default: [
{:"Airbrake.LoggerBackend", :error},
:console
],
doc: "Provide documentation for logger.backends here.",
hidden: false,
to: "logger.backends"
]
],
transforms: [],
validators: []
]
on startup this results in sys.config having this entry:
{logger,
[{backends,[{'Airbrake.LoggerBackend',error},console]}]}
which is obviously incorrect. It has to be 'Elixir.Airbrake.LoggerBackend'. So on startup this fails.
has anyone seen this problem? Is there a solution?
Metadata
Metadata
Assignees
Labels
No labels