Skip to content

Commit d14e866

Browse files
committed
compile project before running mix task
1 parent 705e385 commit d14e866

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/mix/tasks/sentry.send_test_event.ex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ defmodule Mix.Tasks.Sentry.SendTestEvent do
77
Send test even to check if Sentry configuration is correct.
88
"""
99

10-
def run(_args) do
10+
def run(args) do
11+
Mix.Project.compile(args)
1112
Application.ensure_all_started(:sentry)
1213

1314
Sentry.Client.get_dsn!
1415
|> print_environment_info()
1516

17+
1618
maybe_send_event()
1719
end
1820

0 commit comments

Comments
 (0)