Commit 265d6a2
authored
handling error when member left guild (#986)
* handling error when member left guild
* taking carre of debugging leftovers
* sonar fix
* refactor loggers, archiving thread incase of failure
* fallback archiving in same queue
* archive logic in supplier
* consumer only logs, so better name
* refactor error handling in rest chain
* refactor if check for clarity
* extra line for readabilty
* sonar fix
* handling error in pipeline
* cleaning up debugging leftovers
* renaming from logger -> LOGGER
* log level changed to info with better message
* logging all the errors, instead of just ErrorResponseException type
* refactoring
* replacing Function type with Supplier for sendEmbedWithoutMention
* changing variable for more clarity on fetched members
* reverting back LOGGER->logger based on project style
* removing unnecessary error handling1 parent 0b403ff commit 265d6a2
File tree
1 file changed
+24
-11
lines changed- application/src/main/java/org/togetherjava/tjbot/features/help
1 file changed
+24
-11
lines changedLines changed: 24 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
10 | | - | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
22 | | - | |
| 25 | + | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| |||
122 | 126 | | |
123 | 127 | | |
124 | 128 | | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
131 | 135 | | |
132 | 136 | | |
133 | 137 | | |
134 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
135 | 149 | | |
136 | | - | |
137 | | - | |
| 150 | + | |
138 | 151 | | |
139 | 152 | | |
0 commit comments