Update CModHandler.cpp

Corrected error handling in CModHandler::loadConfigFromFile