This is not strictly true.  I think that you misread how the error message is constructed.

The message will look like `failed to load some-module due to some-exception + some-stack-trace`.

There are a number of reasons why this failure could occur and the error message should provide the context.