In most cases it works fine, but sometimes it throws an error:
Uncaught exception TypeError: Cannot read property 'uploadURL' of undefined at /.../node_modules/box-view/index.js:499:21 at tryOnTimeout (timers.js:224:11) at Timer.listOnTimeout (timers.js:198:5)
I'm using your library in an async-await way - with method
uploadURL
promisified using the Bluebird promisify method :In most cases it works fine, but sometimes it throws an error:
I rewrote it as:
now it works fine, but it would be nice to have this method fully compatible also with the first (promisify) approach.