Skip to content

Avoid raising error when DB update fails? #110

@cjcolvar

Description

@cjcolvar

We're running into a problem in Avalon where the persisting fails due to DB column size issues which blocks even loading the encode record in the rails console making debugging hard. I wonder if we should take this comment seriously and not raise an error and stop the execution flow when persisting during the callback fails. We'll have to explore if there are any adverse effects if we don't raise an error and how we might surface the issue in a different way.

model.update(encode_attributes) # Don't fail if persisting doesn't succeed?

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