Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raise 404, not 500, if circularId is not finite
Fixes the following error: ``` 2024-12-10T16:45:51.373Z 96341ef3-33ab-481f-9a5a-9d7c10f78c14 ERROR Error: Special numeric value NaN is not allowed at convertToNumberAttr (/var/runtime/node_modules/@aws-sdk/util-dynamodb/dist-cjs/index.js:212:11) at convertToAttr (/var/runtime/node_modules/@aws-sdk/util-dynamodb/dist-cjs/index.js:120:12) at marshall (/var/runtime/node_modules/@aws-sdk/util-dynamodb/dist-cjs/index.js:307:26) at marshallFunc (/var/runtime/node_modules/@aws-sdk/lib-dynamodb/dist-cjs/index.js:130:97) at processObj (/var/runtime/node_modules/@aws-sdk/lib-dynamodb/dist-cjs/index.js:69:14) at /var/runtime/node_modules/@aws-sdk/lib-dynamodb/dist-cjs/index.js:122:28 at Array.reduce (<anonymous>) at processAllKeysInObj (/var/runtime/node_modules/@aws-sdk/lib-dynamodb/dist-cjs/index.js:118:30) at processObj (/var/runtime/node_modules/@aws-sdk/lib-dynamodb/dist-cjs/index.js:78:16) at processKeysInObj (/var/runtime/node_modules/@aws-sdk/lib-dynamodb/dist-cjs/index.js:107:28) ```
- Loading branch information