From 1adb2b34ca06a84b23e052d141d3e7e27b4f90b9 Mon Sep 17 00:00:00 2001 From: bitterpanda Date: Fri, 30 Jan 2026 14:44:26 +0100 Subject: [PATCH] Cleanup linting errors --- packages/safe-chain/src/ultimate/printUltimateLogs.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/safe-chain/src/ultimate/printUltimateLogs.js b/packages/safe-chain/src/ultimate/printUltimateLogs.js index a11c9f7..2fe432b 100644 --- a/packages/safe-chain/src/ultimate/printUltimateLogs.js +++ b/packages/safe-chain/src/ultimate/printUltimateLogs.js @@ -79,6 +79,11 @@ function getPathsPerPlatform() { } } +/** + * @param {string} appName + * @param {string} logPath + * @param {string} errLogPath + */ async function printLogs(appName, logPath, errLogPath) { ui.writeInformation(`=== ${appName} Logs ===`); try { @@ -89,7 +94,7 @@ async function printLogs(appName, logPath, errLogPath) { ui.writeWarning(`${appName} log file not found: ${logPath}`); } } catch (error) { - ui.writeError(`Failed to read ${appName} logs: ${error.message}`); + ui.writeError(`Failed to read ${appName} logs: ${error}`); } ui.writeInformation(`=== ${appName} Error Logs ===`); @@ -101,6 +106,6 @@ async function printLogs(appName, logPath, errLogPath) { ui.writeInformation(`No error log file found for ${appName}.`); } } catch (error) { - ui.writeError(`Failed to read ${appName} error logs: ${error.message}`); + ui.writeError(`Failed to read ${appName} error logs: ${error}`); } }