add a general error catch around process_message
argh, can't call str on unicode objects