mirror of
https://github.com/jlengrand/Maestro.git
synced 2026-03-10 00:21:21 +00:00
Remove unused error variable in logger catch block
The catch block intentionally ignores all errors to prevent infinite loops, so the error value is never used. Use bare catch syntax.
This commit is contained in:
@@ -193,7 +193,7 @@ class Logger extends EventEmitter {
|
||||
console.info(message, entry.data || '');
|
||||
break;
|
||||
}
|
||||
} catch (err) {
|
||||
} catch {
|
||||
// Silently ignore EPIPE errors - console is disconnected
|
||||
// Other errors are also ignored to prevent infinite loops
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user