Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't log ignored error when requiring custom publisher #8267

Merged
merged 2 commits into from
Jun 26, 2024
Merged

fix: don't log ignored error when requiring custom publisher #8267

merged 2 commits into from
Jun 26, 2024

Conversation

George-Payne
Copy link
Contributor

When using a custom publish provider, it is first attempted to be imported from the build resources, then if that fails, it attempts to import it from node_modules.

Currently, if the first attempted path fails, it logs the error to the console.

image

This happens multiple times per publish, and adds a lot of noise to the output.

Considering it's a (possibly) expected error, it would be better to move this to a debug log, with explanation.

Copy link

changeset-bot bot commented Jun 19, 2024

🦋 Changeset detected

Latest commit: 318cdd5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
app-builder-lib Patch
dmg-builder Patch
electron-builder-squirrel-windows Patch
electron-builder Patch
electron-forge-maker-appimage Patch
electron-forge-maker-nsis-web Patch
electron-forge-maker-nsis Patch
electron-forge-maker-snap Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

netlify bot commented Jun 19, 2024

Deploy Preview for car-park-attendant-cleat-11576 ready!

Name Link
🔨 Latest commit 318cdd5
🔍 Latest deploy log https://app.netlify.com/sites/car-park-attendant-cleat-11576/deploys/667affc117bae900088db6a3
😎 Deploy Preview https://deploy-preview-8267--car-park-attendant-cleat-11576.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@George-Payne George-Payne changed the title fix: don't log ignored error when requiring custom pblisher fix: don't log ignored error when requiring custom publisher Jun 19, 2024
@mmaietta mmaietta merged commit 9d55973 into electron-userland:master Jun 26, 2024
13 checks passed
@George-Payne George-Payne deleted the patch-1 branch June 26, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants