Report script evaluation failures in log and reject messages
Merge pull request #5394

307f7d4 Report script evaluation failures in log and reject messages (Pieter Wuille)