Fixed error messages on patch errors
Closes #987, #988
Merge pull request #1070 from AltGr/patch-errors

Fixed error messages on patch errors