[1.5.x] Fixed a typo in the error reporting docs.

Backport of 83d0cc52.