Fixed wrong exception processing in messenger