Registry Mirror
Skip to content

File tree

‎packages/server/src/adapters/standard/handler.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ export class StandardHandler<T extends Context> {
179179
response = this.codec.encodeError(error)
180180
}
181181
catch (cause) {
182+
setSpanError(span, cause)
182183
response = this.codec.encodeError(new ORPCError('INTERNAL_SERVER_ERROR', { cause }))
183184
}
184185

0 commit comments

Comments
 (0)