mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-11 18:11:21 +08:00
refactor: optimize runner error handling and cleanup logic
- Use defer for summary saving and HTML report generation to ensure they run regardless of exit path - Remove unnecessary sync.Once for cleanup operations since defer guarantees single execution - Simplify error handling logic by removing redundant runErr checks - Improve interrupt handling with better logging messages - Ensure graceful cleanup and data persistence even when interrupted
This commit is contained in:
@@ -1 +1 @@
|
||||
v5.0.0-beta-2506071503
|
||||
v5.0.0-beta-2506071636
|
||||
|
||||
Reference in New Issue
Block a user