Log unexpected commands rather than throwing a RuntimeException.