-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
Milestone
Description
Component
Dasharo Tools Suite
Device
other
Dasharo version
No response
Dasharo Tools Suite version
v2.1.0
Test case ID
No response
Brief summary
After choosing the L in DTS menu, the logs are not sent when an update finishes or if DTS encounters an error.
After an error, the logs can still be sent by launching the shell/rebooting/powering off.
How reproducible
No response
How to reproduce
- Run DTS
- Press
Lto enable sending logs - Perform a Dasharo update
- Make the operation fail (e.g.
CTRL+C) or finish the update
Expected behavior
DTS logs are sent to cloud.
Actual behavior
DTS logs are not being sent.
Screenshots
No response
Additional context
The problem could be tackled by using trap to make sure logs are sent in case of errors/interruption. However, then the logs would be sent twice (also on exit). We may want to keep this the way it is and update the documentation to inform the users that they should choose one of those options in order to send the logs.
The problem with sending logs after a successful update should be investigated further.
Solutions you've tried
No response