@Wolfgang Rothmayer If you have configured the application insights on your function app then you can view these application insights logs to find the full exception stack/error message for your function app execution or if there is an issue. You can also review Azure Functions diagnostics blade to get the insights and the possible solution to mitigate the different issues.
If there is any module missing then most probably your function app will fail with 500 errors during execution. You can either look into application insights logs or the diagnostics 500 error and it will provide more information if there is any module not found on your function app.