Report errors when queries fail