Skip to content

Commit

Permalink
print message to log in case of fetching error and language update
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Borges committed Jan 23, 2025
1 parent aa370a0 commit a918f98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ private Constants() {
public static final String LSP_CW_CONFIGURATION_KEY = "aws.codeWhisperer";
public static final String DO_NOT_SHOW_UPDATE_KEY = "doNotShowUpdate";
public static final String PLUGIN_UPDATE_NOTIFICATION_TITLE = "Amazon Q Update Available";
public static final String PLUGIN_UPDATE_NOTIFICATION_BODY = "Amazon Q plugin version %s is available. Please update for newest features.";
public static final String PLUGIN_UPDATE_NOTIFICATION_BODY = "Amazon Q plugin version %s is available."
+ "Please update to receive the latest features and bug fixes.";
public static final String LSP_CW_OPT_OUT_KEY = "shareCodeWhispererContentWithAWS";
public static final String LSP_CODE_REFERENCES_OPT_OUT_KEY = "includeSuggestionsWithCodeReferences";
public static final String IDE_CUSTOMIZATION_NOTIFICATION_TITLE = "Amazon Q Customization";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private Version fetchRemoteArtifactVersion(final String repositoryUrl) {
}

} catch (Exception e) {
e.printStackTrace();
Activator.getLogger().error("Error fetching artifact from remote location.", e);
}
return null;
}
Expand Down

0 comments on commit a918f98

Please sign in to comment.