We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 01cd2b2 + cd47087 commit 242047bCopy full SHA for 242047b
packages/openneuro-server/src/queues/queues.ts
@@ -14,7 +14,7 @@ export function setupQueues() {
14
EQueueDeliveryModel.POINT_TO_POINT,
15
(err) => {
16
// The queue may already exist, don't log that error
17
- if (err !== "QueueQueueExistsError") {
+ if (err && err.name !== "QueueQueueExistsError") {
18
Sentry.captureException(err)
19
}
20
},
0 commit comments