I am having an issue with your SDK which is really irregular.
You throw the process with the “shutdown” bucket error. Now I know about the bucket.on(‘error’, callback) method but it doesn’t help me for two reasons:
you seem to throw it even if the connections succeed. I placed that on my code and was unable to upload my server since you keep throwing errors to that callback.
I don’t wish to have a callback for errors thrown, I wish to get the error upon an actual operation and use a given callback I use for that operation which allows me to handle the error differently depending on context.
The error is probably thrown because I have internet issues.
I emphasis: My issue is not that the error occur but the way you throw it and don’t let me handle it gracefully.
I hope for a proper solution. Thank you