@tinycloud/cli 0.5.0-beta.11 → 0.5.0-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -925,7 +925,11 @@ async function replayAdditionalDelegations(node, profile) {
|
|
|
925
925
|
if (expiry.getTime() <= Date.now()) continue;
|
|
926
926
|
try {
|
|
927
927
|
await node.useRuntimeDelegation({ ...entry.delegation, expiry });
|
|
928
|
-
} catch {
|
|
928
|
+
} catch (err) {
|
|
929
|
+
if (process.env.TC_DEBUG_REPLAY === "1") {
|
|
930
|
+
process.stderr.write(`[replay] skipping ${entry.delegation.cid}: ${err.message}
|
|
931
|
+
`);
|
|
932
|
+
}
|
|
929
933
|
}
|
|
930
934
|
}
|
|
931
935
|
}
|