changed statemachine runtime exception to log warning