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

Check and possibly rethink blanket excepts #175

@aaaaalbert

Description

@aaaaalbert

(It is known)[https://docs.python.org/2/howto/doanddont.html#except] that non-specific except: clauses cause opaque problems. We should carefully check the clearinghouse code base's use of this construct, see

$ grep -rl except: *
backend/backend_daemon.py
common/api/keygen.py
common/api/maindb.py
deploymentscripts/deploy_clearinghouse.py
lockserver/lockserver_daemon.py
node_state_transitions/node_transition_lib.py
node_state_transitions/transition_canonical_to_onepercentmanyevents.py
polling/check_active_db_nodes.py
website/html/views.py
website/xmlrpc/views.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions