Only set error string when dict lookup found no matching key (was setting it for all failures, potentially masking other exceptions).
Only set error string when dict lookup found no matching key (was setting
it for all failures, potentially masking other exceptions).

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator