Skip to content

Commit

Permalink
login in error message added (#75)
Browse files Browse the repository at this point in the history
Co-authored-by: Nagarjun Sanji <[email protected]>
  • Loading branch information
nagarjunsanji and Nagarjun Sanji authored Oct 21, 2024
1 parent 8fd717d commit f30c734
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/baseCommand.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ export class BaseCommandService {
Logger.logInfo(`Login successful. Authentication Bearer token generated for secure access.`);
}
} catch (error: any) {
statusBarMessageHelper.showErrorMessage(error);
SentryHelper.captureException(new Error(error));
statusBarMessageHelper.showErrorMessage("Login Command Failed");
SentryHelper.captureException(new Error("Login Command Failed"));
} finally {
statusBarMessageHelper.setStatusBarMessage(
StatusMessage.getStatusMessage(MessageStatus.FINISHED, DebrickedCommands.BASE_COMMAND.command),
Expand Down

0 comments on commit f30c734

Please sign in to comment.