fix bugbot comments

This commit is contained in:
Vikhyath Mondreti
2026-01-29 20:15:34 -08:00
parent 49a6197cd2
commit efe2b85346
2 changed files with 4 additions and 0 deletions

View File

@@ -83,6 +83,9 @@ export function setupOperationsHandlers(socket: AuthenticatedSocket, roomManager
operation,
target,
})
if (operationId) {
socket.emit('operation-failed', { operationId, error: 'User session not found' })
}
return
}

View File

@@ -179,6 +179,7 @@ export class RedisRoomManager implements IRoomManager {
const failed = results.some((result) => result instanceof Error)
if (failed) {
logger.error(`Pipeline partially failed when adding user to room`, { workflowId, socketId })
throw new Error('Failed to store user session data in Redis')
}
logger.debug(`Added user ${presence.userId} to workflow ${workflowId} (socket: ${socketId})`)