Log the source of the error when the profile activation fails. (#14237)
Issue found while working on #14233 (testing).
Link to issue number:
None
Summary of the issue:
When an error occurs while switching profile manually, a message box indicates that there has been an error, but nothing in the message box nor in the log indicates the source of error (no traceback...).
Description of user facing changes
When profile switching fails, the traceback of the error is logged.
Description of development approach
Added the log