|
@@ -178,7 +178,10 @@ export class AdjusterService {
|
|
|
console.warn(`Error obtaining data from ${this.serviceBaseUrl}.`);
|
|
console.warn(`Error obtaining data from ${this.serviceBaseUrl}.`);
|
|
|
console.log(error);
|
|
console.log(error);
|
|
|
this._clusteringInProcess = false;
|
|
this._clusteringInProcess = false;
|
|
|
- this.adjusterEventService.clustersLoaded.next({success: false});
|
|
|
|
|
|
|
+ this.adjusterEventService.clustersLoaded.next({
|
|
|
|
|
+ success: false,
|
|
|
|
|
+ err: error,
|
|
|
|
|
+ });
|
|
|
});
|
|
});
|
|
|
};
|
|
};
|
|
|
this.hsUtilsService.debounce(f, 300, false, this)();
|
|
this.hsUtilsService.debounce(f, 300, false, this)();
|
|
@@ -213,6 +216,10 @@ export class AdjusterService {
|
|
|
console.warn(`Web service at ${this.serviceBaseUrl} unavailable!`);
|
|
console.warn(`Web service at ${this.serviceBaseUrl} unavailable!`);
|
|
|
console.log(error);
|
|
console.log(error);
|
|
|
this._clusteringInProcess = false;
|
|
this._clusteringInProcess = false;
|
|
|
|
|
+ this.adjusterEventService.clustersLoaded.next({
|
|
|
|
|
+ success: false,
|
|
|
|
|
+ err: error,
|
|
|
|
|
+ });
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
|