codeintel: log unexpected commands

(integrated from master branch change fc8a47d by Todd Whiteman <toddw@activestate.com>)