resolveExecuteQuery handles error