mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-30 01:07:59 -05:00
fix bugbot comments
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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})`)
|
||||
|
||||
Reference in New Issue
Block a user