Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 6cc8a22

Browse files
author
vikasrohit
committed
SUP-2311, Add generic error message when something fails while linking/unlinking the external account
-- Fixed support email address link and its text
1 parent 20978bf commit 6cc8a22

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/directives/external-account/external-account.directive.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@
7676
toaster.pop('error', "Whoops!",
7777
String.supplant(
7878
"This {provider} account is linked to another account. \
79-
If you think this is an error please contact <a href=\"mailTo:support@.appirio.com\">support@apprio.com</a>.",
79+
If you think this is an error please contact <a href=\"mailTo:support@topcoder.com\">support@topcoder.com</a>.",
8080
{provider: provider.displayName }
8181
)
8282
);
8383
} else {
8484
$log.error("Fatal Error: _link: " + resp.msg);
85-
toaster.pop('error', "Whoops!", "Sorry, we are unable to add your account right now. Please try again later. If the problem persists, please contact <a href=\"mailTo:support@.appirio.com\">support@apprio.com</a>.");
85+
toaster.pop('error', "Whoops!", "Sorry, we are unable to add your account right now. Please try again later. If the problem persists, please contact <a href=\"mailTo:support@topcoder.com\">support@topcoder.com</a>.");
8686
}
8787
});
8888
}
@@ -108,10 +108,10 @@
108108
var msg = resp.msg;
109109
if (resp.status === 'SOCIAL_PROFILE_NOT_EXIST') {
110110
$log.info("Social profile not linked to account");
111-
msg = "{provider} account is not linked to your account. If you think this is an error please contact <a href=\"mailTo:support@.appirio.com\">support@apprio.com</a>.";
111+
msg = "{provider} account is not linked to your account. If you think this is an error please contact <a href=\"mailTo:support@topcoder.com\">support@topcoder.com</a>.";
112112
} else {
113113
$log.error("Fatal error: _unlink: " + msg);
114-
msg = "Sorry! We are unable to unlink your {provider} account. If problem persists, please contact <a href=\"mailTo:support@.appirio.com\">support@apprio.com</a>";
114+
msg = "Sorry! We are unable to unlink your {provider} account. If problem persists, please contact <a href=\"mailTo:support@topcoder.com\">support@topcoder.com</a>";
115115
}
116116
toaster.pop('error', "Whoops!", String.supplant(msg, {provider: provider.displayName }));
117117
});

0 commit comments

Comments
 (0)