MCPcopy
hub / github.com/prisma/prisma / makeErrorReportCompleted

Function makeErrorReportCompleted

packages/internals/src/errorReporting.ts:52–60  ·  view source on GitHub ↗
(signedUrl: string)

Source from the content-addressed store, hash-verified

50}
51
52export async function makeErrorReportCompleted(signedUrl: string): Promise<number> {
53 const result = await request(
54 `mutation ($signedUrl: String!) {
55 markErrorReportCompleted(signedUrl: $signedUrl)
56}`,
57 { signedUrl },
58 )
59 return result.markErrorReportCompleted
60}
61
62async function request(query: string, variables: any): Promise<any> {
63 const url = 'https://error-reports.prisma.sh/'

Callers 1

sendPanicFunction · 0.90

Calls 1

requestFunction · 0.85

Tested by

no test coverage detected