Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export class RecordingService {
)
return { ok: true, data: result }
} catch (error) {
if (error instanceof NoSuchKey || (error as Error)?.name === 'NoSuchKey') {
if (error instanceof NoSuchKey) {
logger.warn('[RecordingService] S3 object not found (NoSuchKey)', {
key,
teamId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,7 @@ export class DynamoDBKeyStore implements KeyStore {
})
)
} catch (error) {
if (
error instanceof ConditionalCheckFailedException ||
(error as Error)?.name === 'ConditionalCheckFailedException'
) {
if (error instanceof ConditionalCheckFailedException) {
// Key already exists — return the existing key instead of overwriting
return this.getKey(sessionId, teamId)
}
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@
"fast-xml-parser@^4": ">=4.5.4",
"fast-xml-parser@^5": ">=5.3.5",
"jest-playwright-preset>playwright-core": "1.60.0",
"@smithy/node-http-handler": "4.4.9"
"@smithy/node-http-handler": "4.4.9",
"@smithy/core": "3.24.6"
},
"patchedDependencies": {
"heatmap.js@2.0.5": "patches/heatmap.js@2.0.5.patch",
Expand Down
Loading
Loading