Skip to content

historicalEventsQuerying function does not throw exception #751

@spoorthipujariadobe

Description

@spoorthipujariadobe

The existing utility method to query events from event history returns 0 when the lookup fails due to timeout, instead of throwing the exception.
https://github.com/adobe/aepsdk-core-android/blob/main/code/core/src/main/java/com/adobe/marketing/mobile/launch/rulesengine/HistoricalEventsQuerying.kt

The caller could interpret this as event not existing in event history instead of being aware that the look up failed. We should throw the exception for the caller to handle appropriate instead of returning 0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions