UNPKG

convex

Version:

Client for the Convex Cloud

20 lines (19 loc) 483 B
"use strict"; import { nodeFs } from "../../bundler"; import * as Sentry from "@sentry/node"; export const oneoffContext = { fs: nodeFs, deprecationMessagePrinted: false, spinner: void 0, async fatalError(exitCode, _reason, err) { return await flushAndExit(exitCode, err); } }; async function flushAndExit(exitCode, err) { if (err) { Sentry.captureException(err); } await Sentry.close(); return process.exit(exitCode); } //# sourceMappingURL=context.js.map