refactor(main): move SilentError check out of printError

Description

  • refactor(main): move SilentError check out of printError

The function could be useful to get error print regardless of the exception being thrown

Based on !1859 (merged)

Related Issues

See &11833

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 🤖 GitLab Bot 🤖

Merge request reports

Loading