Show errorMessage
This commit is contained in:
+2
-2
@@ -221,7 +221,7 @@ app.filter('prettyAppMessage', function () {
|
||||
if (app.health === HSTATES.UNHEALTHY) return 'The app is not responding to health checks. Check the logs for any error messages.';
|
||||
}
|
||||
|
||||
var message = app.message;
|
||||
var message = app.errorMessage;
|
||||
if (message === 'ETRYAGAIN') return 'The DNS record for this location is not setup correctly. Please verify your DNS settings and repair this app.';
|
||||
if (message === 'DNS Record already exists') return 'The DNS record for this location already exists. Cloudron does not remove existing DNS records. Manually remove the DNS record and then click on repair.';
|
||||
return message;
|
||||
@@ -231,7 +231,7 @@ app.filter('prettyAppMessage', function () {
|
||||
// this appears as tool tip in app grid
|
||||
app.filter('shortAppMessage', function () {
|
||||
return function (app) {
|
||||
var message = app.message;
|
||||
var message = app.errorMessage;
|
||||
if (message === 'ETRYAGAIN') return 'DNS record not setup correctly';
|
||||
return message;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user