Issue #1191 Allow more detailed error messages to be set in process_mess...

...age