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.
1 parent 0ecf2dc commit 9e098a8Copy full SHA for 9e098a8
packages/openneuro-server/src/datalad/dataset.ts
@@ -3,6 +3,7 @@
3
*
4
* See resolvers for interaction with other data sources.
5
*/
6
+import * as Sentry from "@sentry/node"
7
import request from "superagent"
8
import requestNode from "request"
9
import objectHash from "object-hash"
@@ -72,8 +73,9 @@ export const createDataset = async (
72
73
await notifications.snapshotReminder(datasetId)
74
return ds
75
} catch (e) {
76
+ Sentry.captureException(e)
77
// eslint-disable-next-line
- console.error(`Failed to create ${datasetId}`)
78
+ console.error(`Failed to create ${datasetId}: ${e}`)
79
throw e
80
}
81
0 commit comments