We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39ad22a commit 3c1b0e9Copy full SHA for 3c1b0e9
scripts/normalize-runtime-metrics.mjs
@@ -155,6 +155,7 @@ try {
155
}
156
console.log(`[normalize-runtime-metrics] normalized ${targetInput}`);
157
} catch (error) {
158
+ const message = error instanceof Error ? error.message : String(error);
159
if (
160
error &&
161
typeof error === "object" &&
@@ -166,5 +167,8 @@ try {
166
167
);
168
process.exit(0);
169
- throw error;
170
+ console.warn(
171
+ `[normalize-runtime-metrics] skipped: non-fatal write error (${message})`,
172
+ );
173
+ process.exit(0);
174
0 commit comments