Skip to content

Commit

Permalink
Change Error Text
Browse files Browse the repository at this point in the history
  • Loading branch information
AvocadoMoon committed Jul 1, 2024
1 parent f2c2afe commit ec5f331
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,9 @@ public void run(Hashtable<String, Object> hashTable) throws Exception {
int numberOfPolls = 0;
while(!auth0ConnectionUtils.isVCellIdentityMapped()){
if (numberOfPolls==100) {
String message = "Please restart the VCell application for we can't find your user. " +
"If you have not created " +
"a user on the website https://" + hostname + ", please do so. And if you have an existing user please " +
"follow the conversion process on the website.";
String message = "Please restart the VCell application for we can't find your UserID. " +
"If you have not created/claimed " +
"a UserID on the website https://" + hostname + "/profile, please do so.";
JOptionPane.showMessageDialog(null, message,
"Restart the Application", JOptionPane.ERROR_MESSAGE, null);
return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ private static AuthorizationResponse getAuthorizationResponseAutomated(int local
String authorizationCodeURI = authorizationCodeURIQueue.poll(600, TimeUnit.SECONDS); // wait for server to process the request
System.out.println("authorization code " + authorizationCodeURI + " received from web server via queue");
if (authorizationCodeURI == null) {
String message = "Please restart the VCell application for the sign up time has expired.";
String message = "If you desire to login, please click Account -> Login, for the login window has expired.";
JOptionPane.showMessageDialog(null, message,
"Restart the Application", JOptionPane.ERROR_MESSAGE, null);
throw new RuntimeException("Authorization code not received");
Expand Down

0 comments on commit ec5f331

Please sign in to comment.