fix: prevent crash when it is not possible to get client for telemtry

Description

  • refactor: move hooks package into telemetry files in main pkg

There is no need to have a separate package for telemetry. Especially, since this violates that in commands/ there should only be CLI commands per package.

  • fix: prevent crash when it is not possible to get client for telemtry

Related Issues

Resolves #[issue_number]

How has this been tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)
  • Test gap
Edited by Timo Furrer

Merge request reports

Loading