Improved debug error message when a command module fails to load due to an exception.