Skip to content

Commit

Permalink
chore: 🧹 add log to contributors image when errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-labs committed Dec 13, 2024
1 parent 85a3c24 commit 9bb64a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified images/contributors.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/scripts/contributors/contributors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ const init = async () => {
green(`Successfully created ${fileName} image!`)
);
})
.catch(() => {
throw Error(red(`Error while creating ${fileName} image`));
.catch((e) => {
throw Error(red(`Error while creating ${fileName} image: ${e}`));
});
};

Expand Down

0 comments on commit 9bb64a3

Please sign in to comment.