diff --git a/src/gui/official/EventFactory.inl b/src/gui/official/EventFactory.inl index daf31d1804b515182a1dc05a15cdaaaab02b6e23..bd0e67a1a8b7626aec2b3ecd8d076e428483ed97 100644 --- a/src/gui/official/EventFactory.inl +++ b/src/gui/official/EventFactory.inl @@ -47,7 +47,7 @@ EventFactoryImpl< Base >::create(const std::string &code, { typename std::map< std::string, EventCreatorBase< Base > * >::iterator pos = mEventCreators.find(code); if(pos == mEventCreators.end()) { - throw std::runtime_error("The code \"" + code + "\" has no creator registered."); + _debug("The code %s has no creator registered.", code.c_str()); } return pos->second->create(code, args);