Commit fd8c63be authored by Marek Veselý's avatar Marek Veselý
Browse files

Merge branch '665-remove-the-graphql-prefix-from-error-notifications' into 'main'

Fix: Removed graphql prefix from error notif

Closes #665

See merge request inject/frontend!605
parents daac9927 1014cbd3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@ const constructClient = () =>
    exchanges: [
      mapExchange({
        onError(error, op) {
          error.message = error.message.replace('[GraphQL] ', '')
          if (!(op.context as CustomOperationContext)?.errorHandled)
            notify(
              `Error: ${error.message}`,