Skip to content

Commit c6a3a79

Browse files
committed
reduce logs and update bun version
1 parent bccf19d commit c6a3a79

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

.github/workflows/on_release_jerni_pr_merged.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
- uses: oven-sh/setup-bun@v2
3131
with:
32-
bun-version: 1.1.29
32+
bun-version: 1.1.38
3333

3434
- name: Build jerni CLI
3535
run: ./scripts/build-cli.sh

.github/workflows/publish_jsr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
- uses: oven-sh/setup-bun@v2
3434
with:
35-
bun-version: 1.1.24
35+
bun-version: 1.1.38
3636

3737
- name: Install dependencies
3838
run: chmod +x ./scripts/install-dependencies.sh && ./scripts/install-dependencies.sh

.github/workflows/release_binary_jerni_files.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
- uses: oven-sh/setup-bun@v2
2828
with:
29-
bun-version: 1.1.29
29+
bun-version: 1.1.38
3030

3131
- name: Build jerni CLI
3232
run: ./scripts/build-cli.sh

packages/jerni/src/getEventStream.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,9 @@ export default async function getEventStreamFromUrl(
117117
errorCount++;
118118
retryTime = RETRY_TIMES[errorCount] ?? RETRY_TIMES.at(-1);
119119
logger.error(`${ERR} [DOWNLOADING_EVENT] error occurred ${errorCount} times.`);
120-
logger.debug({ downloading_event_error: ex });
120+
if (ex instanceof Error) {
121+
logger.debug({ downloading_event_error: ex.name });
122+
}
121123
logger.error(`${ERR} [DOWNLOADING_EVENT] retry in ${retryTime}s`);
122124
}
123125

0 commit comments

Comments
 (0)