Skip to content

Connection.__init__ no longer raises iRODS error code exceptions #518

Closed
@alanking

Description

@alanking

In the past, instantiating a Connection object with invalid credentials for authentication would result in an iRODS error code being raised (e.g. PAM_AUTH_PASSWORD_FAILED or CAT_INVALID_USER). Now, any failed authentication causes ValueError to be raised and the "reason" for the failed authentication is lost.

The relevant code change can be found here: 8956644#diff-65db2a2628890f6590ada70f47840fedb056dec02a3e0e61e27a339bea7514d2R80-R89

I'm using the bug label, but this may be intentional and we should write down why this change has occurred if it is expected.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions