We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eac5207 commit 9ec0f95Copy full SHA for 9ec0f95
.changeset/heavy-papayas-visit.md
@@ -0,0 +1,5 @@
1
+---
2
+'@codeshift/fetcher': patch
3
4
+
5
+Adds development logging for quick debugging
packages/fetcher/src/index.ts
@@ -117,6 +117,10 @@ export async function fetchRemotePackage(
117
}
118
} catch (e) {
119
// Swallow this error
120
+ if (process.env.NODE_ENV !== 'production') {
121
+ console.error('Remote package config parsing error:');
122
+ console.error(e);
123
+ }
124
125
126
return await fetchConfig(info.location);
0 commit comments