Skip to content

Commit ff82c7a

Browse files
committed
fix(rest): re-import thrownAnswerIsBareNotFound for the event and diff doors after slice 13b moved the item read's catch
Claude-Session: https://claude.ai/code/session_01Y9zBTp9ePwgEEJXeqyLG4N Co-authored-by: Claude <noreply@anthropic.com>
1 parent 07b1e21 commit ff82c7a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎packages/rest/src/rest-server.ts‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,9 @@ import {
369369
sendDeclaredFault,
370370
sendFieldVisibilityFault,
371371
handleRouteError,
372-
// `thrownAnswerIsBareNotFound`, read only by the item read's catch, moved with that body
373-
// to `meta-item-read-routes.ts` (#23050 slice 13b).
372+
// `thrownAnswerIsBareNotFound`: the item read's catch moved to `meta-item-read-routes.ts`
373+
// (#23050 slice 13b); the event and diff doors here still read it (#24210).
374+
thrownAnswerIsBareNotFound,
374375
// `logUnexpectedRouteError` and `applyDroppedFieldsHeader`, read only by the CRUD doors' catches
375376
// and their two write answers, moved with `registerCrudEndpoints`' body to `crud-routes.ts`
376377
// (#23050 slice 12).

0 commit comments

Comments
 (0)