-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
There is sometimes an exception while writing files to gcloud, should be handled by repeating the request:
ApiError: The metadata for object "u/aknudsen/befaco-spring-reverb/files/Reverb_sch_V2.5.pdf" was edited during the operation. Please try again.
at new util.ApiError (/app/node_modules/gcloud/lib/common/util.js:106:10)
at Object.parseHttpRespBody (/app/node_modules/gcloud/lib/common/util.js:184:30)
at Object.handleResp (/app/node_modules/gcloud/lib/common/util.js:124:18)
at /app/node_modules/gcloud/lib/common/util.js:447:12
at Request.onResponse [as _callback] (/app/node_modules/retry-request/index.js:120:7)
at Request.self.callback (/app/node_modules/request/request.js:187:22)
at emitTwo (events.js:100:13)
at Request.emit (events.js:185:7)
at Request. (/app/node_modules/request/request.js:1044:10)
at emitOne (events.js:90:13)
at Request.emit (events.js:182:7)
at IncomingMessage. (/app/node_modules/request/request.js:965:12)
at emitNone (events.js:85:20)
at IncomingMessage.emit (events.js:179:7)
at endReadableNT (_stream_readable.js:913:12)
at _combinedTickCallback (node.js:383:13)
at process._tickDomainCallback (node.js:431:11)
From previous event:
at /app/dist/app/server/api/projectApi.js:624:12
at _map (/app/node_modules/ramda/dist/ramda.js:262:27)
at map (/app/node_modules/ramda/dist/ramda.js:5959:20)
at /app/node_modules/ramda/dist/ramda.js:586:23
at Object.f2 [as map] (/app/node_modules/ramda/dist/ramda.js:473:22)
at copyFilesToCloudStorage (/app/dist/app/server/api/projectApi.js:623:24)
at realUpdateProjectFromGitHub (/app/dist/app/server/api/projectApi.js:474:26)
at /app/dist/app/server/api/projectApi.js:510:20
at bound (domain.js:287:14)
at runBound (domain.js:300:12)
From previous event:
at /app/dist/app/server/api/projectApi.js:509:103
at bound (domain.js:287:14)
at runBound (domain.js:300:12)
at bound (domain.js:287:14)
at Object.runBound (domain.js:300:12)
From previous event:
at /app/dist/app/server/api/projectApi.js:507:24
at bound (domain.js:287:14)
at runBound (domain.js:300:12)
at tryCatcher (/app/node_modules/rethinkdb/node_modules/bluebird/js/main/util.js:26:23)
at Promise._settlePromiseFromHandler (/app/node_modules/rethinkdb/node_modules/bluebird/js/main/promise.js:507:31)
at Promise._settlePromiseAt (/app/node_modules/rethinkdb/node_modules/bluebird/js/main/promise.js:581:18)
at Async._drainQueue (/app/node_modules/rethinkdb/node_modules/bluebird/js/main/async.js:128:12)
at Async._drainQueues (/app/node_modules/rethinkdb/node_modules/bluebird/js/main/async.js:133:10)
at Immediate.Async.drainQueues [as _onImmediate] (/app/node_modules/rethinkdb/node_modules/bluebird/js/main/async.js:15:14)
at tryOnImmediate (timers.js:534:15)
at processImmediate [as _immediateCallback] (timers.js:514:5)