Repository navigation
Encode error objects into json before logging them #668
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -309,7 +309,7 @@ local function discovery_service_f(router, service, limiter) | |
| if not future then | ||
| limiter:log_warn(err, service:set_status_error( | ||
| 'Error during discovery %s, retry will be done later: %s', | ||
| rs_id, err)) | ||
| rs_id, tostring(lerror.make(err)))) | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Tarantool 1.10 is not supported by VShard anymore, and the minimum supported version (2.11) already has no problems with calling the The |
||
| goto continue | ||
| end | ||
| iter.future = future | ||
|
|
@@ -339,7 +339,7 @@ local function discovery_service_f(router, service, limiter) | |
| future:discard() | ||
| limiter:log_warn(err, service:set_status_error( | ||
| 'Error during discovery %s, retry will be done '.. | ||
| 'later: %s', rs_id, err)) | ||
| 'later: %s', rs_id, tostring(lerror.make(err)))) | ||
| goto continue | ||
| end | ||
| local replicaset = router.replicasets[rs_id] | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.