log exceptions only via error handler