MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / onError

Function onError

apps/webapp/app/entry.server.tsx:99–107  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

97 reject(error);
98 },
99 onError(error: unknown) {
100 responseStatusCode = 500;
101 // Log streaming rendering errors from inside the shell. Don't log
102 // errors encountered during initial shell rendering since they'll
103 // reject and get logged in handleDocumentRequest.
104 if (shellRendered) {
105 console.error(error);
106 }
107 },
108 }
109 );
110

Callers 1

executeTaskMethod · 0.50

Calls 1

errorMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…