Skip to content

Commit e3bae5a

Browse files
Alex KrawiecAlex Krawiec
authored andcommitted
Enable backfill workflow
1 parent 05741b7 commit e3bae5a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/changelog/docsChangelog.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@ async function getChangelogEntries(): Promise<ChangelogEntry[]> {
1919
});
2020

2121
if (!res.ok) {
22-
throw new Error('Failed to fetch changelog');
22+
throw new Error(`Failed to fetch changelog: ${res.status} ${res.statusText}`);
2323
}
2424

2525
return res.json();
2626
} catch (error) {
27+
// eslint-disable-next-line no-console
28+
console.error('Error fetching changelog:', error);
2729
// Error fetching changelog - return empty array
2830
return [];
2931
}

0 commit comments

Comments
 (0)