Commit 3e3ceb9
committed
RHELMISC-7213: Fix share folder handle_exceptions
Fix retry behavior in handle_exceptions when share_folder fails.
Previously, when share_folder failed, handle_exceptions would retry
the entire block, attempting to create an already existing folder.
This led to unnecessary retries and potential errors.
Now the operations are separated:
- Folder creation has its own exception handling block
- Share folder and link generation are handled separately
- Prevents redundant folder creation attempts during retries
This ensures cleaner retry logic and proper error handling for
each operation independently.
Signed-off-by: Vitalii Chulak <vitalii@daynix.com>1 parent 217a660 commit 3e3ceb9
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
121 | 123 | | |
122 | | - | |
123 | | - | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | 126 | | |
| 127 | + | |
| 128 | + | |
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
| |||
0 commit comments