diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_boot_steps.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rabbit_boot_steps.erl b/src/rabbit_boot_steps.erl index 7232635560..21366877db 100644 --- a/src/rabbit_boot_steps.erl +++ b/src/rabbit_boot_steps.erl @@ -85,6 +85,7 @@ sort_boot_steps(UnsortedSteps) -> case [{StepName, {M,F,A}} || {_App, StepName, Attributes} <- SortedSteps, {mfa, {M,F,A}} <- Attributes, + code:ensure_loaded(M) =/= {module, M} orelse not erlang:function_exported(M, F, length(A))] of [] -> SortedSteps; MissingFns -> exit({boot_functions_not_exported, MissingFns}) |
