diff --git a/src/tasks/unit/log_process_errors.js b/src/tasks/unit/log_process_errors.js index 4638236..fa68a39 100644 --- a/src/tasks/unit/log_process_errors.js +++ b/src/tasks/unit/log_process_errors.js @@ -9,7 +9,12 @@ const loadLogProcessErrors = () => { } logProcessErrors({ - onError: (error) => { + onError: (error, event) => { + // TODO: remove once this is fixed: https://github.com/release-it/release-it/issues/1051 + if (event === 'warning' && error.message.includes('punycode')) { + return + } + throw error }, })