Skip to content

Commit 38ccc82

Browse files
committed
fix: subdomains to deleted files tried to deref fs node
1 parent 37ca892 commit 38ccc82

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/backend/src/om/definitions/Mapping.js

+4
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ class Mapping extends AdvancedBase {
7676
}
7777

7878
if ( value instanceof FSNodeContext ) {
79+
if ( ! await value.exists() ) {
80+
value = undefined;
81+
continue;
82+
}
7983
value = await value.getSafeEntry();
8084
sanitized = true;
8185
}

0 commit comments

Comments
 (0)