8000 softDelete does not trace the errors that occur in the get call · Issue #389 · feathersjs-ecosystem/feathers-hooks-common · GitHub
[go: up one dir, main page]

Skip to content

softDelete does not trace the errors that occur in the get call #389

@bertho-zero

Description

@bertho-zero

softDelete does not trace the errors that occur in the get hooks.

If a real error other than NotFound occurs in the get there is currently no way to know it, it would be necessary to "swallow" the error rather than replace it, I use verror for that in all my projects.

https://github.com/feathers-plus/feathers-hooks-common/blob/1942e7c0087c3761db31558cba4e8fad52947ad6/lib/services/soft-delete.js#L66-L77

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

      0