application.ex: disable warnings_as_errors at runtime
see changed files for rationale
This commit is contained in:
parent
9d63b2c9db
commit
dc3a418c27
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,9 @@ def start(_type, _args) do
|
|||
# every time the application is restarted, so we disable module
|
||||
# conflicts at runtime
|
||||
Code.compiler_options(ignore_module_conflict: true)
|
||||
# Disable warnings_as_errors at runtime, it breaks Phoenix live reload
|
||||
# due to protocol consolidation warnings
|
||||
Code.compiler_options(warnings_as_errors: false)
|
||||
Pleroma.Telemetry.Logger.attach()
|
||||
Config.Holder.save_default()
|
||||
Pleroma.HTML.compile_scrubbers()
|
||||
|
|
Loading…
Reference in a new issue