[autofix.ci] apply automated fixes
This commit is contained in:
parent
c51761742d
commit
fb112b1f5b
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user