Skip to content

Framework Manager error handling #448

@aamplugin

Description

@aamplugin

AAM Framework Manager does not handle the errors properly. For instance, by executing the following code with user ID that does not exist, the result will be uncatched exception:

AAM::api()->jwts('user:99999', [ 'error_handling' => 'wp_error' ])->validate('XXXXXX');

The correct result of such execution should be an instance of WP_Error.

Metadata

Metadata

Assignees

Labels

Projects

Status

Ready For Release

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions