Skip to content

Simulator throws an exception when forgetting state with the empty set #293

@apasel422

Description

@apasel422

Due to

if (sites.size === 0) {
throw new RangeError("need to specify at least one site when forgetting");
}

The exception itself makes sense in terms of business logic, but the issue isn't propagated to the UI, so the user has no indication of why their intended operation had no effect.

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