Skip to content

Commit b9222cf

Browse files
Lms24andreiborza
andauthored
chore(remix): Cleanup unused error args in sourcemaps script (#17104)
Small cleanup forward-port to `develop` (see #17095 (comment).) Co-authored-by: Andrei <[email protected]>
1 parent 84a070f commit b9222cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/remix/scripts/createRelease.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ async function createRelease(argv, URL_PREFIX, BUILD_PATH) {
3434
useArtifactBundle: !argv.disableDebugIds,
3535
live: 'rejectOnError',
3636
});
37-
} catch (error) {
37+
} catch {
3838
console.warn('[sentry] Failed to upload sourcemaps.');
3939
}
4040

4141
try {
4242
await sentry.releases.finalize(release);
43-
} catch (error) {
43+
} catch {
4444
console.warn('[sentry] Failed to finalize release.');
4545
}
4646

0 commit comments

Comments
 (0)