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

get_auth_session JSONDecodeError #213

@Lawrencedsp

Description

@Lawrencedsp

Is there any other way to deal with errors happening inside the get_auth_session decoding? Currently this is my code:

  try:
      session = service.get_auth_session(data=data, decoder=json.loads)
  except JSONDecodeError as e:
      print("handle error")

Metadata

Metadata

Assignees

No one assigned

    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