Skip to content

the error didnot throw up to Vue #897

Closed
@gaoyuan123

Description

@gaoyuan123

Describe the bug
the error didnot throw up to Vue,because method catchError in smart-query.js:

  catchError (error) {
    super.catchError(error)
    this.firstRunReject()
    this.loadingDone(error)
    this.nextResult(this.observer.currentResult())
    // The observable closes the sub if an error occurs
    this.resubscribeToQuery()
  }

this.firstRunReject() no error

Versions
vue-apollo:3.0.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions