Commit 0601c03
Andrii Bondarchuk
Improve error handling for Garmin activity updates
Wrapped Garmin activity update in a try-catch block to log errors and throw an InvalidDataException on failure. Also fixed a minor formatting issue in the assignment of activitySummary.1 parent 4a1063e commit 0601c03
File tree
1 file changed
+11
-2
lines changed- src/FitSyncHub.Functions/Functions
1 file changed
+11
-2
lines changedLines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
352 | 361 | | |
353 | 362 | | |
354 | 363 | | |
| |||
0 commit comments