Skip to content

Wrong error handling in applyAccessCondition #130

@imajus

Description

@imajus

Here, the isSuccess value returned from the downstream function call is not considered for the return value.

Sometimes, Kavach may not throw error but return this value:

{ isSuccess: false, error: '...' }

In that case the applyAccessCondition will silently skip the error and return a successful execution result.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions