MCPcopy
hub / github.com/prisma/prisma / serializePanic

Function serializePanic

packages/migrate/src/SchemaEngineWasm.ts:311–313  ·  view source on GitHub ↗

The full message with context we return to the user in case of engine panic.

(log: string)

Source from the content-addressed store, hash-verified

309
310/** The full message with context we return to the user in case of engine panic. */
311function serializePanic(log: string): string {
312 return `${red(bold('Error in Schema engine.\nReason: '))}${log}\n`
313}

Callers 1

runCommandMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected