Skip to content

Commit

Permalink
reduce logs and update bun version
Browse files Browse the repository at this point in the history
  • Loading branch information
tungv committed Dec 7, 2024
1 parent bccf19d commit c6a3a79
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/on_release_jerni_pr_merged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.1.29
bun-version: 1.1.38

- name: Build jerni CLI
run: ./scripts/build-cli.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_jsr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.1.24
bun-version: 1.1.38

- name: Install dependencies
run: chmod +x ./scripts/install-dependencies.sh && ./scripts/install-dependencies.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_binary_jerni_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.1.29
bun-version: 1.1.38

- name: Build jerni CLI
run: ./scripts/build-cli.sh
Expand Down
4 changes: 3 additions & 1 deletion packages/jerni/src/getEventStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ export default async function getEventStreamFromUrl(
errorCount++;
retryTime = RETRY_TIMES[errorCount] ?? RETRY_TIMES.at(-1);
logger.error(`${ERR} [DOWNLOADING_EVENT] error occurred ${errorCount} times.`);
logger.debug({ downloading_event_error: ex });
if (ex instanceof Error) {
logger.debug({ downloading_event_error: ex.name });
}
logger.error(`${ERR} [DOWNLOADING_EVENT] retry in ${retryTime}s`);
}

Expand Down

0 comments on commit c6a3a79

Please sign in to comment.