Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Provide more descriptive error message when removing a marker that doesn't exist #7961

@danswick

Description

@danswick

Platform: Android
Mapbox SDK version: 4.2.2

Steps to trigger behavior

Attempt to remove a marker that does not exist.

Expected behavior

Graceful failure with descriptive error message and/or Java exception (instead of native).

Actual behavior

Crash with an error message similar to:

void mbgl::AnnotationManager::removeAnnotation(const AnnotationID &): assertion "false" failed

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions