Skip to content

Commit 90cc508

Browse files
committed
chore: add log for downloading
1 parent c8d18ae commit 90cc508

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/node/install.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ export async function downloadCKBBinaryAndUnzip(version: string) {
5050
fs.chmodSync(getCKBBinaryPath(version), '755'); // Make the binary executable
5151

5252
logger.info(`CKB ${version} installed successfully.`);
53-
} catch (error) {
54-
logger.error('Error installing dependency binary:', error);
53+
} catch (error: unknown) {
54+
logger.error('Error installing dependency binary:', (error as Error).message);
5555
}
5656
}
5757

0 commit comments

Comments
 (0)