Fixes #23 - correctly detect and route incoming error messages