Skip to content

errors from storage-adapters being ignored #1022

@kmcrawford

Description

@kmcrawford

This issue effects if there is an error from a storage adapter

This non-caching of errors has kept a polling issue aloof. And could be causing other issue.

When does this occur?

This occurs when the getFromJson is called, there is an error object being returned that is not being acted on.

getFromJson((jsonErr, details) => {

Where on the platform does it happen?

I have proved this issue by forking the storage-adapter and adding logging where there is an error. I can see in the logs that occasionally an error is being thrown and not acted on or logged.

Expected behavior (i.e. solution)

I would expect if a storage-adapter throws a error it would be logged and acted upon.

What version of OC, Node.js and OS are you using?

Latest.

Other Comments

Another issue will be submitted for the issue found with the oc-gs-storage-adapter

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