@abtnode/core 1.17.8-beta-20260111-112953-aed5ff39 → 1.17.8-beta-20260115-003043-5e15c08a
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/lib/blocklet/manager/disk/install-core-manager.js +2 -1
- package/lib/blocklet/manager/disk/install-download-manager.js +1 -1
- package/lib/blocklet/migration-dist/migration.cjs +3126 -3150
- package/lib/event/index.js +2 -2
- package/lib/util/blocklet/did-document.js +10 -4
- package/package.json +35 -35
|
@@ -68,7 +68,8 @@ async function _onInstall(manager, { blocklet, componentDids, context, oldBlockl
|
|
|
68
68
|
|
|
69
69
|
return installedBlocklet;
|
|
70
70
|
} catch (error) {
|
|
71
|
-
|
|
71
|
+
console.error(`blocklet onInstall error: ${did}`, error);
|
|
72
|
+
logger.error('blocklet onInstall error', { did, error });
|
|
72
73
|
return null;
|
|
73
74
|
}
|
|
74
75
|
}
|
|
@@ -55,7 +55,7 @@ async function _downloadAndInstall(manager, params, { _onInstall, _upgradeBlockl
|
|
|
55
55
|
if (!b0) {
|
|
56
56
|
throw new Error('blocklet does not exist before downloading');
|
|
57
57
|
} else {
|
|
58
|
-
logger.
|
|
58
|
+
logger.warn(`blocklet status is invalid before downloading: ${fromBlockletStatus(b0.status)}`);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
} catch (error) {
|