You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
captureError("setProjectConfigOverride",newStackAssertionError(`Config override is invalid — at a place where it should have already been validated! ${overrideErrors.error}`,{projectId: options.projectId}));
226
+
}
225
227
awaitglobalPrismaClient.project.update({
226
228
where: {
227
229
id: options.projectId,
@@ -248,7 +250,10 @@ export async function setBranchConfigOverride(options: {
248
250
thrownewStackAssertionError(`Branch config override for ${options.projectId}/${options.branchId} is too large.`);
captureError("setBranchConfigOverride",newStackAssertionError(`Config override is invalid — at a place where it should have already been validated! ${overrideErrors.error}`,{projectId: options.projectId,branchId: options.branchId}));
captureError("setEnvironmentConfigOverride",newStackAssertionError(`Config override is invalid — at a place where it should have already been validated! ${overrideErrors.error}`,{projectId: options.projectId,branchId: options.branchId}));
// be a bit more resilient in prod... we don't necessarily have to crash here, but this means that something went awfully wrong so go into panic mode regardless
captureError("config-override-validation-error",newStackAssertionError(`Config override is invalid — at a place where it should have already been validated! ${overrideErrors.error}`,{extraInfo: options.extraInfo}));
0 commit comments