mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Fix EACCES error code name
This commit is contained in:
committed by
Jamie Kyle
parent
58d53527e0
commit
16c9c17cc2
@@ -69,7 +69,7 @@ export function createRotatingPinoDest({
|
||||
// delay.
|
||||
if (
|
||||
retryCount < MAX_RETRY_COUNT &&
|
||||
(error.code === 'EACCESS' || error.code === 'EPERM')
|
||||
(error.code === 'EACCES' || error.code === 'EPERM')
|
||||
) {
|
||||
retryCount += 1;
|
||||
warn(`rotatingPinoDest: retrying rotation, retryCount=${retryCount}`);
|
||||
|
||||
Reference in New Issue
Block a user