Not matching catch against error message

That fails if a different locale is loaded because Vim localizes error messages.

Fixes #767