Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

New Relixir fails when running under an additional named supervisor #57

Closed
eldano opened this issue Jul 2, 2018 · 0 comments
Closed

Comments

@eldano
Copy link

eldano commented Jul 2, 2018

Steps to reproduce:

Expected outcome: The health check executes correctly

Actual: It fails with the following stacktrace:

[error] Task #PID<0.968.0> started from #PID<0.965.0> terminating
** (ArgumentError) argument error
    :erlang.process_info(API.TaskSupervisor, :dictionary)
    (elixir) lib/process.ex:646: Process.info/2
    (new_relixir) lib/new_relixir/current_transaction.ex:49: NewRelixir.CurrentTransaction.extract_transaction/1
    (elixir) lib/enum.ex:2914: Enum.find_value_list/3
    (new_relixir) lib/new_relixir/current_transaction.ex:44: NewRelixir.CurrentTransaction.search_on_ancestors/0
    (new_relixir) lib/new_relixir/current_transaction.ex:21: NewRelixir.CurrentTransaction.get/0
    (http_client) lib/http_client/instrumentation.ex:36: HTTPClient.Instrumentation.record_transaction/3
    (http_client) lib/http_client/instrumentation.ex:23: HTTPClient.Instrumentation.record/3
    (shipping) lib/shipping/client.ex:37: Shipping.Client.ping/0
    (shipping) lib/shipping.ex:108: Shipping.health/0
    (elixir) lib/task/supervised.ex:88: Task.Supervised.do_apply/2
    (elixir) lib/task/supervised.ex:38: Task.Supervised.reply/5
    (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
Function: &Shipping.health/0
    Args: []
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant