Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errors from storage-adapters being ignored #1022

Open
kmcrawford opened this issue Apr 16, 2019 · 0 comments
Open

errors from storage-adapters being ignored #1022

kmcrawford opened this issue Apr 16, 2019 · 0 comments

Comments

@kmcrawford
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant