Skip to content

Commit 5832717

Browse files
committed
When logging links to ephemeral docs, include better information
1 parent c090045 commit 5832717

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/runner/src/storage.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,12 @@ export class Storage implements IStorage {
276276
const newDoc = docMap.getDocByEntityId(doc.space, entityId, false)!;
277277
// We don't need to hook up ephemeral docs
278278
if (newDoc.ephemeral) {
279-
console.log("Found link to ephemeral doc from", doc.entityId);
279+
console.log(
280+
"Found link to ephemeral doc",
281+
entityIdStr(newDoc.entityId),
282+
"from",
283+
entityIdStr(doc.entityId),
284+
);
280285
continue;
281286
}
282287
// NOTE(@ubik2): I can't recall if a retraction will come over as a missing isValue.

0 commit comments

Comments
 (0)