Commit 27d5b5f
committed
feat(backend): add logging and improve trip stop reordering logic
- Introduced logging to track the reordering of trip stops for better debugging and monitoring.
- Updated the reordering logic to temporarily set high order values to avoid constraint conflicts during the update process.
- Enhanced error handling to ensure proper validation of trip stops belonging to the specified trip.1 parent 78db595 commit 27d5b5f
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
| 546 | + | |
| 547 | + | |
546 | 548 | | |
547 | 549 | | |
548 | 550 | | |
549 | 551 | | |
| 552 | + | |
| 553 | + | |
550 | 554 | | |
551 | 555 | | |
552 | 556 | | |
| |||
567 | 571 | | |
568 | 572 | | |
569 | 573 | | |
570 | | - | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
571 | 582 | | |
572 | 583 | | |
573 | 584 | | |
| |||
0 commit comments