Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: logger #27

Merged
merged 3 commits into from
Nov 8, 2024
Merged

feat: logger #27

merged 3 commits into from
Nov 8, 2024

Conversation

0xkenj1
Copy link
Collaborator

@0xkenj1 0xkenj1 commented Nov 7, 2024

🤖 Linear

Closes GIT-116

Description

Replace console calls with shared logger.

Checklist before requesting a review

  • I have conducted a self-review of my code.
  • I have conducted a QA.
  • If it is a core feature, I have included comprehensive tests.

@0xkenj1 0xkenj1 requested a review from 0xnigir1 November 7, 2024 18:43
Copy link

linear bot commented Nov 7, 2024

@0xkenj1 0xkenj1 requested a review from jahabeebs November 7, 2024 18:43
@0xkenj1 0xkenj1 assigned 0xyaco and unassigned 0xyaco Nov 7, 2024
@0xkenj1 0xkenj1 requested a review from 0xyaco November 7, 2024 19:11
jahabeebs
jahabeebs previously approved these changes Nov 7, 2024
Copy link
Collaborator

@jahabeebs jahabeebs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

.git
.gitignore
*.md
generated
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will we have a .env in this dir?

Copy link
Collaborator Author

@0xkenj1 0xkenj1 Nov 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we won't

isNativeError(error) ? error.stack : undefined,
);
const errorMessage =
`Coingecko API error: failed to fetch token price` +
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe leave a blank space after price so it's separated from the stringified error

@0xkenj1 0xkenj1 dismissed jahabeebs’s stale review November 8, 2024 01:16

The merge-base changed after approval.

Copy link
Collaborator

@0xnigir1 0xnigir1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good to go for me after addressing beebs comments, thanks for the logger btw 😄

@0xkenj1 0xkenj1 requested review from 0xnigir1 and jahabeebs November 8, 2024 15:23
@0xkenj1 0xkenj1 merged commit 36632dc into dev Nov 8, 2024
6 checks passed
@0xkenj1 0xkenj1 deleted the feat/logger branch November 8, 2024 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants