Skip to content

Commit

Permalink
successful tests don't log
Browse files Browse the repository at this point in the history
  • Loading branch information
ProducerMatt committed Feb 21, 2024
1 parent 2fd7efa commit 22a38d6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
15 changes: 9 additions & 6 deletions lib/stampede/interact.ex
Original file line number Diff line number Diff line change
Expand Up @@ -198,15 +198,18 @@ defmodule Stampede.Interact do
responding_plug: rec.response.origin_plug,
response: rec.response.text,
channel_lock:
if rec.channel_lock do
rec.channel_lock |> inspect()
else
false
end
if rec.channel_lock do
rec.channel_lock |> inspect()
else
false
end
]

[
"NEW INTERACTION ", inspect(rec.id), "\n", to_print |> S.pp()
"NEW INTERACTION ",
inspect(rec.id),
"\n",
to_print |> S.pp()
]
end)
end
Expand Down
2 changes: 1 addition & 1 deletion test/test_helper.exs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ExUnit.start()
ExUnit.start(capture_log: true)

0 comments on commit 22a38d6

Please sign in to comment.