You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
on Elixir 1.11[.2].
This is a problem because we use mix compile --warnings-as-errors in our CI to prevent developer mistakes/warnings seeping into master, which means our CI builds fail because of this warning.
use Prometheus.PlugPipelineInstrumenter
The code above triggers the following warning:
warning: System.stacktrace/0 is deprecated, use __STACKTRACE__ instead
on Elixir 1.11[.2].
This is a problem because we use
mix compile --warnings-as-errors
in our CI to prevent developer mistakes/warnings seeping into master, which means our CI builds fail because of this warning.Looks like you can also mark the macro code as generated to supress warnings https://github.com/elixir-lang/elixir/blob/b889975c5574d9edd679ecf55c6707e3eb1f51d1/lib/ex_unit/lib/ex_unit/assertions.ex#L710
The text was updated successfully, but these errors were encountered: