mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 01:58:26 +00:00
chore: Enable more lint rules, disable some that trigger a lot. Will clean up later.
This commit is contained in:
@@ -184,7 +184,7 @@ export async function startSshPortForward(opts: {
|
||||
} catch (err) {
|
||||
await stop();
|
||||
const suffix = stderr.length > 0 ? `\n${stderr.join("\n")}` : "";
|
||||
throw new Error(`${err instanceof Error ? err.message : String(err)}${suffix}`);
|
||||
throw new Error(`${err instanceof Error ? err.message : String(err)}${suffix}`, { cause: err });
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user