Use specific values in message about address mismatch #1431

Merged
acid-ant merged 1 commit from potyarkin/frostfs-node:feature/better-error-message into master 2024-10-15 08:01:24 +00:00
Member

This makes troubleshooting failed operations much easier:

Before:

status: code = 1024 message = session token is missing but object owner id is different from the default key

After:

status: code = 1024 message = session token is missing but object owner id (NgxTo1Vsi5NUJ9DicGCgoowiH35k6omp1Q) is different from the default key (NejLbQpojKJWec4NQRMBhzsrmCyhXfGJJe)
This makes troubleshooting failed operations much easier: Before: status: code = 1024 message = session token is missing but object owner id is different from the default key After: status: code = 1024 message = session token is missing but object owner id (NgxTo1Vsi5NUJ9DicGCgoowiH35k6omp1Q) is different from the default key (NejLbQpojKJWec4NQRMBhzsrmCyhXfGJJe)
potyarkin added 1 commit 2024-10-14 14:39:37 +00:00
[#1431] Use specific values in message about address mismatch
All checks were successful
Tests and linters / Run gofumpt (pull_request) Successful in 51s
DCO action / DCO (pull_request) Successful in 1m1s
Pre-commit hooks / Pre-commit (pull_request) Successful in 2m8s
Vulncheck / Vulncheck (pull_request) Successful in 2m4s
Build / Build Components (pull_request) Successful in 2m17s
Tests and linters / Staticcheck (pull_request) Successful in 2m36s
Tests and linters / Lint (pull_request) Successful in 3m26s
Tests and linters / Tests (pull_request) Successful in 3m42s
Tests and linters / gopls check (pull_request) Successful in 3m54s
Tests and linters / Tests with -race (pull_request) Successful in 4m38s
5239b269c4
This makes troubleshooting failed operations much easier

Signed-off-by: Vitaliy Potyarkin <v.potyarkin@yadro.com>
fyrchik approved these changes 2024-10-14 15:16:19 +00:00
Owner

Please, prefix the commit message with services/object: or objsvc: (look at the history for examples).

Please, prefix the commit message with `services/object:` or `objsvc:` (look at the history for examples).
acid-ant approved these changes 2024-10-15 06:04:27 +00:00
potyarkin force-pushed feature/better-error-message from 5239b269c4 to a7fe9655d3 2024-10-15 07:05:21 +00:00 Compare
Author
Member

Commit message updated

✅ Commit message updated
potyarkin force-pushed feature/better-error-message from a7fe9655d3 to 714ff784fa 2024-10-15 07:34:05 +00:00 Compare
acid-ant merged commit 714ff784fa into master 2024-10-15 08:01:24 +00:00
potyarkin deleted branch feature/better-error-message 2024-10-15 08:03:06 +00:00
fyrchik referenced this pull request from a commit 2024-10-15 08:54:01 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1431
No description provided.