Commit 42b5e54
authored
🔧 Improve DID bootstrap error handling (#1758)
Enhance the Governance DID bootstrapping script with more robust error
handling and improved reliability:
* Remove `-e` flag from `set` to allow manual error handling
* Add `-f` flag to `curl` commands for fail-fast behavior on HTTP errors
* Explicitly check curl command exit codes and exit on failure
* Simplify DID existence check by comparing against empty array `[]`
* Define `BASE_URL` variable inline instead of using environment variable
* Add descriptive error messages for debugging failed operations
This prevents silent failures during DID bootstrap and provides clearer
feedback when errors occur, making the deployment process more reliable.1 parent 2987a4d commit 42b5e54
File tree
2 files changed
+48
-22
lines changed- helm/acapy-cloud/conf
- dev
- local
2 files changed
+48
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
245 | 245 | | |
246 | | - | |
247 | | - | |
248 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
249 | 251 | | |
250 | | - | |
251 | | - | |
252 | | - | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
253 | 262 | | |
254 | 263 | | |
255 | 264 | | |
256 | | - | |
257 | | - | |
258 | | - | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
259 | 268 | | |
260 | 269 | | |
261 | 270 | | |
262 | 271 | | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
263 | 277 | | |
264 | 278 | | |
265 | | - | |
266 | 279 | | |
267 | 280 | | |
268 | 281 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
238 | 238 | | |
239 | | - | |
240 | | - | |
241 | | - | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
242 | 244 | | |
243 | | - | |
244 | | - | |
245 | | - | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
246 | 255 | | |
247 | 256 | | |
248 | 257 | | |
249 | | - | |
250 | | - | |
251 | | - | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
252 | 261 | | |
253 | 262 | | |
254 | 263 | | |
255 | 264 | | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
256 | 270 | | |
257 | 271 | | |
258 | | - | |
259 | 272 | | |
260 | 273 | | |
261 | 274 | | |
| |||
0 commit comments