Added an error handler to avoid an ugly log msg