-
Notifications
You must be signed in to change notification settings - Fork 5
fix: Log error on table resolver exception/error #16
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
Conversation
| if depth == 0: | ||
| self._logger.info( | ||
| "table resolver started", table=resolver.table.name, depth=depth | ||
| "table resolver started what", table=resolver.table.name, depth=depth |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "table resolver started what", table=resolver.table.name, depth=depth | |
| "table resolver started", table=resolver.table.name, depth=depth |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah forgot it. removed.
| ) | ||
| total_resources = 0 | ||
| for item in resolver.resolve(client, parent_item): | ||
| self._logger.info("resolving resource") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| self._logger.info("resolving resource") |
| exception=e, | ||
| ) | ||
| continue | ||
| self._logger.info("resolved resource") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| self._logger.info("resolved resource") |
| ) | ||
| table_resolvers_started += 1 | ||
| total_resources += 1 | ||
| self._logger.info("what end") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| self._logger.info("what end") |
🤖 I have created a release *beep* *boop* --- ## [0.0.9](v0.0.8...v0.0.9) (2023-08-02) ### Features * Add override_columns to openapi transformer ([#22](#22)) ([a53bb0e](a53bb0e)) * Wire logging with cli flags ([#26](#26)) ([106781b](106781b)) ### Bug Fixes * Add better logging for scheduler ([#24](#24)) ([505f94b](505f94b)) * Add more command-line args, use standard logging ([#29](#29)) ([5d52af9](5d52af9)) * Emit migrate messages for child relations ([#21](#21)) ([536e163](536e163)) * Fix column resolver resource set ([#23](#23)) ([9936ced](9936ced)) * Fix exception logging ([#18](#18)) ([2a5996b](2a5996b)) * Fix extension type definitions ([#20](#20)) ([146c549](146c549)) * Fix JSON type handling ([#19](#19)) ([c0cdf55](c0cdf55)) * Fix race in scheduler ([#25](#25)) ([17fee27](17fee27)) * Log error on table resolver exception/error ([#16](#16)) ([a1b07e8](a1b07e8)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
The previous logger was raising an exception inside an exception handler