elixir-error-tracker / error-tracker

🐛 An Elixir-based built-in error reporting and tracking solution
https://hex.pm/packages/error_tracker
Apache License 2.0
414 stars 18 forks source link

Router conflict with PhoenixAnalytics #90

Closed wkirschbaum closed 2 months ago

wkirschbaum commented 2 months ago

The following error pops up when used with phoenix analytics

error: function parse_options/2 imported from both PhoenixAnalytics.Web.Router and ErrorTracker.Web.Router, call is ambiguous

Would it be possible to move the function parse_options/2 to another module and not import it?

https://github.com/lalabuy948/PhoenixAnalytics/issues/2

crbelaus commented 2 months ago

Thanks for reporting this @wkirschbaum. The parse_options/2 should be underscored to exclude it from being automatically imported, such like we do for the __session__/2 function`

This should be fixed in #91

wkirschbaum commented 2 months ago

@crbelaus fantastic thanks!