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(lib): more informative logging #13

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

good-idea
Copy link
Contributor

@good-idea good-idea commented Mar 5, 2021

This PR:

  • improves error handling. queue now returns a tuple of [results, errors] instead of just results. The CatchableError stores the function & parameters that failed, so with some more build-out we can use it to re-try failed requests.
  • Fixes some things around fetching docs related to the initial queries
  • Improves logging

You can see how we're using this in tablet here

:)

Here's a loom video that explains a bit about how it works and some big changes in this PR:

https://www.loom.com/share/ffe3609900434c098458ccce65ee296b

+ fix related docs parsing
+ catch and log errors
+ improve queue utility
+ debugging & instructions
+ fix finding references in arrays
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.

1 participant