Commit a2f777f
authored
Reversed if else condition. More general toast error message should be placed in else block (#6004)
Tried to follow the design as used in other hooks. Most general error toast should be in else block. While serverTagUnavailable stuff should be in if block handling. This will help us having scope to add further error handling cases in future1 parent 351bcbf commit a2f777f
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 32 | + | |
35 | 33 | | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments