support query failure diagnose at client side if query fails by exception