Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
Add message when ahs error to initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
camilamacedo86 committed Nov 30, 2018
1 parent 79fa671 commit 3454057
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/modules/initializer.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ var loadCloudProps = function(app_props, callback) {
if (req && req.status === 400) {
logger.error(req.responseText);
} else {
if ( !req && !statusText && !error ) {
statusText = "Connection tag may be disabled";
error = "No cached host found. Init failed.";
}
logger.error("No cached host found. Init failed.");
}
handleError(function(msg, err) {
Expand Down

0 comments on commit 3454057

Please sign in to comment.