Skip to content

Commit 4cf8290

Browse files
committed
Clean Elixir. prefix when saving module names
1 parent cadc15f commit 4cf8290

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/error_tracker/schemas/stacktrace.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ defmodule ErrorTracker.Stacktrace do
2525

2626
%{
2727
application: to_string(application),
28-
module: to_string(module),
28+
module: module |> to_string() |> String.replace_prefix("Elixir.", ""),
2929
function: to_string(function),
3030
arity: arity,
3131
file: to_string(opts[:file]),

0 commit comments

Comments
 (0)