Skip to content

DTS not sending logs on error/finished update #1165

@PLangowski

Description

@PLangowski

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 L to 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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions