Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] [ndt] r1213 committed - Make security error more clear for user

Subject: NDT-DEV email list created

List archive

[ndt-dev] [ndt] r1213 committed - Make security error more clear for user


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] [ndt] r1213 committed - Make security error more clear for user
  • Date: Fri, 20 Mar 2015 12:07:23 +0000

Revision: 1213
Author:

Date: Fri Mar 20 12:07:09 2015 UTC
Log: Make security error more clear for user

https://code.google.com/p/ndt/source/detail?r=1213

Modified:
/branches/Issue172/HTML5-frontend/script.js

=======================================
--- /branches/Issue172/HTML5-frontend/script.js Fri Mar 13 11:05:31 2015 UTC
+++ /branches/Issue172/HTML5-frontend/script.js Fri Mar 20 12:07:09 2015 UTC
@@ -431,9 +431,14 @@

var d = '';

- if (testError().match(/failed/)) {
- d += "Error occured while performing test: <br>".bold()
- d += testError().bold().fontcolor("red") + "<br><br>";
+ var errorMsg = testError();
+ if (errorMsg.match(/failed/)) {
+ d += "Error occured while performing test: <br>".bold();
+ if (errorMsg.match(/#2048/)) {
+ d += "Security error. This error may be caused by firewall issues, make sure that port 843 is available on the NDT server, and that you can access it.".bold().fontcolor("red") + "<br><br>";
+ } else {
+ d += errorMsg.bold().fontcolor("red") + "<br><br>";
+ }
}

d += "Your system: " + readNDTvar("OperatingSystem").bold() + "<br>";


  • [ndt-dev] [ndt] r1213 committed - Make security error more clear for user, ndt, 03/20/2015

Archive powered by MHonArc 2.6.16.

Top of Page