Skip to content

Commit fecce82

Browse files
Merge pull request #237 from redink/fix-GenEvent-warning
fix warning for GenEvent
2 parents 6b30120 + 88f7569 commit fecce82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/sentry/logger.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ defmodule Sentry.Logger do
3636
With this solution, if a `Sentry.Logger` handler is already running, it will not add another. One can add the code to each application, and there will only ever be one handler created. This solution is safer, but slightly more complex to manage.
3737
"""
3838

39-
use GenEvent
39+
@behaviour :gen_event
4040

41-
def init(_mod, []), do: {:ok, []}
41+
def init(_mod), do: {:ok, []}
4242

4343
def handle_call({:configure, new_keys}, _state), do: {:ok, :ok, new_keys}
4444

0 commit comments

Comments
 (0)