Skip to content

Uncaught (in promise) DOMException: Failed to execute 'measure' on 'Performance' #295

@azu

Description

@azu

Uncaught (in promise) DOMException: Failed to execute 'measure' on 'Performance': The mark 'almin::UseCase__2::UserCase#complete' does not exist.

NG:

export class FinishRequestForUpdateIndexPatternsUseCasPayload extends Payload {}
export class RequestForUpdateIndexPatternsUseCase extends UseCase {
    execute(patterns: string[]) {
        this.dispatch(new FinishRequestForUpdateIndexPatternsUseCasPayload());
    }
}

OK:

export class FinishRequestForUpdateIndexPatternsUseCasPayload extends Payload {
  type = "FinishRequestForUpdateIndexPatternsUseCasPayload"
}
export class RequestForUpdateIndexPatternsUseCase extends UseCase {
    execute(patterns: string[]) {
        this.dispatch(new FinishRequestForUpdateIndexPatternsUseCasPayload());
    }
}

It is related with #276

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions