[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2026-01-21 15:11:16 +00:00 committed by GitHub
parent c51761742d
commit fb112b1f5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -364,7 +364,9 @@ exports.radius = function (
throw radiusError;
} else {
// Preserve original error message and stack trace
const enhancedError = new Error(`RADIUS authentication failed for ${hostname}:${port}: ${error.message}`);
const enhancedError = new Error(
`RADIUS authentication failed for ${hostname}:${port}: ${error.message}`
);
enhancedError.originalError = error;
enhancedError.stack = error.stack || enhancedError.stack;
throw enhancedError;