convex
Version:
Client for the Convex Cloud
13 lines (10 loc) • 428 B
text/typescript
import { logFailure, logMessage } from "../../../bundler/log.js";
export class LocalDeploymentError extends Error {}
export function printLocalDeploymentOnError() {
// Note: Not printing the error message here since it should already be printed by
// ctx.crash.
logFailure(`Hit an error while running local deployment.`);
logMessage(
"Your error has been reported to our team, and we'll be working on it.",
);
}