Skip to content

Create a new exception class for Scir modules #1265

@prioux

Description

@prioux

When internal errors happen in Scir modules, the exception generated is usually a plain old RuntimeError.

Create a new ScirError exception class and change all the scir code to raise that instead.

Then in the CbrainTask error handling code, we can detect such errors and not dump the full stack trace inside the task's log.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AdminFeatures or bugs related to administrative featuresEnhancementPriority: LowTo implement when someone actually requests it!Refactoring

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions