Fix empty error details in case of a missing requirejs module