Skip to content

Commit

Permalink
Merge branch 'main' into fix_problem_with_non-exported_function
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpohlmann committed Feb 29, 2024
2 parents 637e4af + 0c34ca8 commit 9049e7e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/quantum.ex
Original file line number Diff line number Diff line change
Expand Up @@ -320,14 +320,14 @@ defmodule Quantum do
cond do
duplicate_job?(Map.keys(acc), job) ->
Logger.warning(
"Job with name '#{name}' of scheduler '#{scheduler}' not started: duplicate job name"
"Job with name #{inspect(name)} of scheduler #{inspect(scheduler)} not started: duplicate job name"
)

acc

invalid_job_task?(job) ->
Logger.warning(
"Job with name '#{name}' of scheduler '#{scheduler}' not started: invalid task function"
"Job with name #{inspect(name)} of scheduler #{inspect(scheduler)} not started: invalid task function"
)

acc
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Quantum.Mixfile do
use Mix.Project

@source_url "https://github.com/quantum-elixir/quantum-core"
@version "3.5.1"
@version "3.5.2"

def project do
[
Expand Down
2 changes: 1 addition & 1 deletion test/quantum_startup_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@ defmodule QuantumStartupTest do
end)

assert log =~
"Job with name 'inexistent_function' of scheduler 'Elixir.QuantumStartupTest.Scheduler' not started: invalid task function"
"Job with name :inexistent_function of scheduler QuantumStartupTest.Scheduler not started: invalid task function"
end
end

0 comments on commit 9049e7e

Please sign in to comment.