Skip to content

Commit

Permalink
fix: don't log ignored error when requiring custom publisher (#8267)
Browse files Browse the repository at this point in the history
  • Loading branch information
George-Payne authored Jun 26, 2024
1 parent 3b99eb3 commit 9d55973
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/spotty-timers-shave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-lib": patch
---

fix: don't log ignored error when requiring custom publisher
2 changes: 1 addition & 1 deletion packages/app-builder-lib/src/publish/PublishManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ function requireProviderClass(provider: string, packager: Packager): any | null
try {
module = require(path.join(packager.buildResourcesDir, name + ".js"))
} catch (ignored) {
console.log(ignored)
log.debug({ path: path.join(packager.buildResourcesDir, name + ".js") }, "Unable to find publish provider in build resources")
}

if (module == null) {
Expand Down

0 comments on commit 9d55973

Please sign in to comment.