Commit 8e9df1a
committed
Refactor error handling in SQL snippets loading
- Simplify error handling in SqlSnippets.vue and Subscribers.vue by removing console error logs.
- Implement silent failure for loading subscriber counts and SQL snippets, ensuring the application remains functional without displaying error messages.
- Set default values for sqlSnippets to an empty array on failure to enhance user experience.1 parent 8145ee9 commit 8e9df1a
2 files changed
+6
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
428 | | - | |
429 | | - | |
| 428 | + | |
430 | 429 | | |
431 | 430 | | |
432 | 431 | | |
| |||
437 | 436 | | |
438 | 437 | | |
439 | 438 | | |
440 | | - | |
441 | | - | |
| 439 | + | |
| 440 | + | |
442 | 441 | | |
443 | 442 | | |
444 | 443 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
306 | | - | |
307 | | - | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
| |||
0 commit comments