mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 10:30:21 +00:00
chore: Enable more lint rules, disable some that trigger a lot. Will clean up later.
This commit is contained in:
@@ -249,7 +249,7 @@ export async function ensureTailscaleEndpoint(params: {
|
||||
try {
|
||||
parsed = JSON.parse(status.stdout) as { Self?: { DNSName?: string } };
|
||||
} catch (err) {
|
||||
throw new Error(formatJsonParseFailure(statusCommand, status, err));
|
||||
throw new Error(formatJsonParseFailure(statusCommand, status, err), { cause: err });
|
||||
}
|
||||
const dnsName = parsed.Self?.DNSName?.replace(/\.$/, "");
|
||||
if (!dnsName) {
|
||||
|
||||
Reference in New Issue
Block a user