Commit eb79763
authored
refactor: [shard-distributor]Remove error logs from store level (#7492)
<!-- Describe what has changed in this PR -->
**What changed?**
Removing the "Store failed with internal error." and "Executor not
found." from the store level.
<!-- Tell your future self why have you made these changes -->
**Why?**
Since the error is returned in the call() method, returning the error
message is handled in the higher level.
<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**
unit tests & local testing
<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**
N/A
<!-- Is it notable for release? e.g. schema updates, configuration or
data migration required? If so, please mention it, and also update
CHANGELOG.md -->
**Release notes**
Cleaning up logs.
<!-- Is there any documentation updates should be made for config,
https://cadenceworkflow.io/docs/operation-guide/setup/ ? If so, please
open an PR in https://github.com/cadence-workflow/cadence-docs -->
**Documentation Changes**
---------
Signed-off-by: Gaziza Yestemirova <[email protected]>1 parent fc05d75 commit eb79763
File tree
2 files changed
+10
-35
lines changed- service/sharddistributor/store/wrappers/metered
2 files changed
+10
-35
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 40 | + | |
| 41 | + | |
46 | 42 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 43 | | |
| 44 | + | |
53 | 45 | | |
54 | 46 | | |
55 | 47 | | |
| |||
62 | 54 | | |
63 | 55 | | |
64 | 56 | | |
65 | | - | |
66 | 57 | | |
67 | | - | |
| 58 | + | |
68 | 59 | | |
69 | 60 | | |
70 | 61 | | |
Lines changed: 6 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
35 | | - | |
36 | | - | |
| 33 | + | |
| 34 | + | |
37 | 35 | | |
38 | 36 | | |
39 | | - | |
40 | | - | |
41 | | - | |
| 37 | + | |
| 38 | + | |
42 | 39 | | |
43 | 40 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 41 | + | |
51 | 42 | | |
52 | 43 | | |
53 | 44 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 45 | + | |
61 | 46 | | |
62 | 47 | | |
63 | 48 | | |
| |||
79 | 64 | | |
80 | 65 | | |
81 | 66 | | |
82 | | - | |
83 | 67 | | |
84 | 68 | | |
85 | 69 | | |
| |||
0 commit comments