better fallback exception handling (use the root cause) and actually catch query validation errors again