-
Notifications
You must be signed in to change notification settings - Fork 17
Enhance logging with contextual information across services #459
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details.
…r context for indexer
…ting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling.
56ee064
to
1965cfa
Compare
chibie
approved these changes
Apr 25, 2025
sundayonah
pushed a commit
that referenced
this pull request
Apr 26, 2025
* Enhance logging with contextual information across services - Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details. * fix(logger): enhance logging with caller information and improve error context for indexer * Refactor error logging to use fmt.Sprintf for consistent error formatting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling. * fix(auth): update logging to use UserID instead of Email for errors logging * fix(logger): update log field keys to use PascalCase for consistency * fix(logger): update OrderID logging to use hex encoding for consistency
sundayonah
pushed a commit
that referenced
this pull request
Apr 28, 2025
* Enhance logging with contextual information across services - Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details. * fix(logger): enhance logging with caller information and improve error context for indexer * Refactor error logging to use fmt.Sprintf for consistent error formatting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling. * fix(auth): update logging to use UserID instead of Email for errors logging * fix(logger): update log field keys to use PascalCase for consistency * fix(logger): update OrderID logging to use hex encoding for consistency
sundayonah
pushed a commit
that referenced
this pull request
Apr 28, 2025
* Enhance logging with contextual information across services - Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details. * fix(logger): enhance logging with caller information and improve error context for indexer * Refactor error logging to use fmt.Sprintf for consistent error formatting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling. * fix(auth): update logging to use UserID instead of Email for errors logging * fix(logger): update log field keys to use PascalCase for consistency * fix(logger): update OrderID logging to use hex encoding for consistency
sundayonah
pushed a commit
that referenced
this pull request
Apr 28, 2025
* Enhance logging with contextual information across services - Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details. * fix(logger): enhance logging with caller information and improve error context for indexer * Refactor error logging to use fmt.Sprintf for consistent error formatting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling. * fix(auth): update logging to use UserID instead of Email for errors logging * fix(logger): update log field keys to use PascalCase for consistency * fix(logger): update OrderID logging to use hex encoding for consistency
sundayonah
pushed a commit
that referenced
this pull request
Apr 28, 2025
* Enhance logging with contextual information across services - Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details. * fix(logger): enhance logging with caller information and improve error context for indexer * Refactor error logging to use fmt.Sprintf for consistent error formatting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling. * fix(auth): update logging to use UserID instead of Email for errors logging * fix(logger): update log field keys to use PascalCase for consistency * fix(logger): update OrderID logging to use hex encoding for consistency
sundayonah
pushed a commit
that referenced
this pull request
Apr 29, 2025
* Enhance logging with contextual information across services - Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details. * fix(logger): enhance logging with caller information and improve error context for indexer * Refactor error logging to use fmt.Sprintf for consistent error formatting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling. * fix(auth): update logging to use UserID instead of Email for errors logging * fix(logger): update log field keys to use PascalCase for consistency * fix(logger): update OrderID logging to use hex encoding for consistency
sundayonah
pushed a commit
that referenced
this pull request
Apr 29, 2025
* Enhance logging with contextual information across services - Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details. * fix(logger): enhance logging with caller information and improve error context for indexer * Refactor error logging to use fmt.Sprintf for consistent error formatting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling. * fix(auth): update logging to use UserID instead of Email for errors logging * fix(logger): update log field keys to use PascalCase for consistency * fix(logger): update OrderID logging to use hex encoding for consistency
sundayonah
pushed a commit
that referenced
this pull request
Apr 29, 2025
* Enhance logging with contextual information across services - Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details. * fix(logger): enhance logging with caller information and improve error context for indexer * Refactor error logging to use fmt.Sprintf for consistent error formatting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling. * fix(auth): update logging to use UserID instead of Email for errors logging * fix(logger): update log field keys to use PascalCase for consistency * fix(logger): update OrderID logging to use hex encoding for consistency
sundayonah
pushed a commit
that referenced
this pull request
Apr 29, 2025
* Enhance logging with contextual information across services - Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details. * fix(logger): enhance logging with caller information and improve error context for indexer * Refactor error logging to use fmt.Sprintf for consistent error formatting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling. * fix(auth): update logging to use UserID instead of Email for errors logging * fix(logger): update log field keys to use PascalCase for consistency * fix(logger): update OrderID logging to use hex encoding for consistency
sundayonah
pushed a commit
that referenced
this pull request
Apr 29, 2025
* Enhance logging with contextual information across services - Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details. * fix(logger): enhance logging with caller information and improve error context for indexer * Refactor error logging to use fmt.Sprintf for consistent error formatting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling. * fix(auth): update logging to use UserID instead of Email for errors logging * fix(logger): update log field keys to use PascalCase for consistency * fix(logger): update OrderID logging to use hex encoding for consistency
sundayonah
pushed a commit
that referenced
this pull request
Apr 29, 2025
* Enhance logging with contextual information across services - Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details. * fix(logger): enhance logging with caller information and improve error context for indexer * Refactor error logging to use fmt.Sprintf for consistent error formatting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling. * fix(auth): update logging to use UserID instead of Email for errors logging * fix(logger): update log field keys to use PascalCase for consistency * fix(logger): update OrderID logging to use hex encoding for consistency
sundayonah
pushed a commit
that referenced
this pull request
Apr 29, 2025
* Enhance logging with contextual information across services - Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details. * fix(logger): enhance logging with caller information and improve error context for indexer * Refactor error logging to use fmt.Sprintf for consistent error formatting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling. * fix(auth): update logging to use UserID instead of Email for errors logging * fix(logger): update log field keys to use PascalCase for consistency * fix(logger): update OrderID logging to use hex encoding for consistency
sundayonah
pushed a commit
that referenced
this pull request
Apr 29, 2025
* Enhance logging with contextual information across services - Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details. * fix(logger): enhance logging with caller information and improve error context for indexer * Refactor error logging to use fmt.Sprintf for consistent error formatting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling. * fix(auth): update logging to use UserID instead of Email for errors logging * fix(logger): update log field keys to use PascalCase for consistency * fix(logger): update OrderID logging to use hex encoding for consistency
sundayonah
pushed a commit
that referenced
this pull request
Apr 29, 2025
* Enhance logging with contextual information across services - Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details. * fix(logger): enhance logging with caller information and improve error context for indexer * Refactor error logging to use fmt.Sprintf for consistent error formatting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling. * fix(auth): update logging to use UserID instead of Email for errors logging * fix(logger): update log field keys to use PascalCase for consistency * fix(logger): update OrderID logging to use hex encoding for consistency
sundayonah
pushed a commit
that referenced
this pull request
Apr 29, 2025
* Enhance logging with contextual information across services - Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details. * fix(logger): enhance logging with caller information and improve error context for indexer * Refactor error logging to use fmt.Sprintf for consistent error formatting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling. * fix(auth): update logging to use UserID instead of Email for errors logging * fix(logger): update log field keys to use PascalCase for consistency * fix(logger): update OrderID logging to use hex encoding for consistency
sundayonah
pushed a commit
that referenced
this pull request
Apr 29, 2025
* Enhance logging with contextual information across services - Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details. * fix(logger): enhance logging with caller information and improve error context for indexer * Refactor error logging to use fmt.Sprintf for consistent error formatting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling. * fix(auth): update logging to use UserID instead of Email for errors logging * fix(logger): update log field keys to use PascalCase for consistency * fix(logger): update OrderID logging to use hex encoding for consistency
sundayonah
pushed a commit
that referenced
this pull request
Apr 29, 2025
* Enhance logging with contextual information across services - Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details. * fix(logger): enhance logging with caller information and improve error context for indexer * Refactor error logging to use fmt.Sprintf for consistent error formatting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling. * fix(auth): update logging to use UserID instead of Email for errors logging * fix(logger): update log field keys to use PascalCase for consistency * fix(logger): update OrderID logging to use hex encoding for consistency
sundayonah
pushed a commit
that referenced
this pull request
Apr 29, 2025
* Enhance logging with contextual information across services - Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details. * fix(logger): enhance logging with caller information and improve error context for indexer * Refactor error logging to use fmt.Sprintf for consistent error formatting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling. * fix(auth): update logging to use UserID instead of Email for errors logging * fix(logger): update log field keys to use PascalCase for consistency * fix(logger): update OrderID logging to use hex encoding for consistency
sundayonah
pushed a commit
that referenced
this pull request
Apr 29, 2025
* Enhance logging with contextual information across services - Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details. * fix(logger): enhance logging with caller information and improve error context for indexer * Refactor error logging to use fmt.Sprintf for consistent error formatting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling. * fix(auth): update logging to use UserID instead of Email for errors logging * fix(logger): update log field keys to use PascalCase for consistency * fix(logger): update OrderID logging to use hex encoding for consistency
sundayonah
pushed a commit
that referenced
this pull request
Apr 29, 2025
* Enhance logging with contextual information across services - Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details. * fix(logger): enhance logging with caller information and improve error context for indexer * Refactor error logging to use fmt.Sprintf for consistent error formatting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling. * fix(auth): update logging to use UserID instead of Email for errors logging * fix(logger): update log field keys to use PascalCase for consistency * fix(logger): update OrderID logging to use hex encoding for consistency
sundayonah
pushed a commit
that referenced
this pull request
Apr 29, 2025
* Enhance logging with contextual information across services - Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details. * fix(logger): enhance logging with caller information and improve error context for indexer * Refactor error logging to use fmt.Sprintf for consistent error formatting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling. * fix(auth): update logging to use UserID instead of Email for errors logging * fix(logger): update log field keys to use PascalCase for consistency * fix(logger): update OrderID logging to use hex encoding for consistency
sundayonah
pushed a commit
that referenced
this pull request
Apr 29, 2025
* Enhance logging with contextual information across services - Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details. * fix(logger): enhance logging with caller information and improve error context for indexer * Refactor error logging to use fmt.Sprintf for consistent error formatting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling. * fix(auth): update logging to use UserID instead of Email for errors logging * fix(logger): update log field keys to use PascalCase for consistency * fix(logger): update OrderID logging to use hex encoding for consistency
sundayonah
pushed a commit
that referenced
this pull request
May 12, 2025
* Enhance logging with contextual information across services - Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details. * fix(logger): enhance logging with caller information and improve error context for indexer * Refactor error logging to use fmt.Sprintf for consistent error formatting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling. * fix(auth): update logging to use UserID instead of Email for errors logging * fix(logger): update log field keys to use PascalCase for consistency * fix(logger): update OrderID logging to use hex encoding for consistency
sundayonah
pushed a commit
that referenced
this pull request
May 13, 2025
* Enhance logging with contextual information across services - Updated logging in `priority_queue.go` to include additional context such as Redis keys, provider IDs, and error details for better traceability. - Improved error handling in `tasks.go` by adding more descriptive logging for RPC client connections, order operations, and refund processes. - Enhanced the logger utility in `logger.go` to automatically include caller information (file, line, function) in log entries for easier debugging. - Refined error logging in `utils.go` to provide more context when invalid provider data is encountered, including token and currency details. * fix(logger): enhance logging with caller information and improve error context for indexer * Refactor error logging to use fmt.Sprintf for consistent error formatting - Updated error logging across multiple services to use fmt.Sprintf for better error message formatting. - Ensured all error messages include detailed context for easier debugging. - Adjusted tests to accommodate changes in error handling. * fix(auth): update logging to use UserID instead of Email for errors logging * fix(logger): update log field keys to use PascalCase for consistency * fix(logger): update OrderID logging to use hex encoding for consistency
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
priority_queue.go
to include additional context such as Redis keys, provider IDs, and error details for better traceability.tasks.go
by adding more descriptive logging for RPC client connections, order operations, and refund processes.logger.go
to automatically include caller information (file, line, function) in log entries for easier debugging.utils.go
to provide more context when invalid provider data is encountered, including token and currency details.Description
References
Testing
Checklist
main
Sentry Logs sample for additional informations that are required for detailed error message:

By submitting a PR, I agree to Paycrest's Contributor Code of Conduct and Contribution Guide.