catch errors while processing message and continue
processing