RuntimeError: ** (RuntimeError) could not find persistent term for endpoint MyApp.Endpoint. Make sure your endpoint is started and note you cannot access endpoint functions at compile-time
To Reproduce
Steps to reproduce the behavior:
add PromEx to the children for the supervisor as described in current README
children = [
MyApp.PromEx,
MyAppWeb.Endpoint,
# ...
]
Expected behavior
Since PromEx relies on the Endpoint, the Endpoint should be started before PromEx.
Environment
Doesn't matter
Additional context
It is not going to bother you, until you have something like AppSignal giving you the same error message on every deploy.
Describe the bug
To Reproduce Steps to reproduce the behavior:
add
PromEx
to the children for the supervisor as described in current READMEExpected behavior Since
PromEx
relies on the Endpoint, the Endpoint should be started beforePromEx
.Environment Doesn't matter
Additional context It is not going to bother you, until you have something like AppSignal giving you the same error message on every deploy.