Skip to content

Commit ee6f7d1

Browse files
committed
Propagate workspace file lookup errors in write routing
1 parent fdb6039 commit ee6f7d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/lib/uploads/contexts/workspace/workspace-file-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ export async function getWorkspaceFileByName(
320320
}
321321
} catch (error) {
322322
logger.error(`Failed to get workspace file by name "${fileName}":`, error)
323-
return null
323+
throw error
324324
}
325325
}
326326

0 commit comments

Comments
 (0)