Skip to content

Allow for overriding the limit for truncating exceptions #2248

@wyegelwel

Description

@wyegelwel

Currently, distributed will truncate an exception if it is longer than 1000 characters (lines?)

e2 = truncate_exception(e, 1000)

From a user perspective this is very jarring because it makes debugging nearly impossible and it isn't obvious dask is the one truncating the error. Googling for "Long error message" doesn't yield anything useful. Having a way to override the limit (and informing the user how to do that in the error message) would make it possible for users to proceed when this problem occurs.

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