|
|
@@ -171,7 +171,10 @@ export class AdjusterService {
|
|
|
} catch (error) {
|
|
|
this.hsToastService.createToastPopupMessage(
|
|
|
'Error loading data',
|
|
|
- `Error obtaining data from ${this.serviceBaseUrl}.`
|
|
|
+ `Error obtaining data from ${this.serviceBaseUrl}.`,
|
|
|
+ {
|
|
|
+ toastStyleClasses: 'bg-warning text-dark',
|
|
|
+ }
|
|
|
);
|
|
|
console.warn(`Error obtaining data from ${this.serviceBaseUrl}.`);
|
|
|
console.log(error);
|
|
|
@@ -243,7 +246,10 @@ export class AdjusterService {
|
|
|
} catch (error) {
|
|
|
this.hsToastService.createToastPopupMessage(
|
|
|
'Error loading data',
|
|
|
- `Error obtaining data from ${this.serviceBaseUrl}.`
|
|
|
+ `Error obtaining data from ${this.serviceBaseUrl}.`,
|
|
|
+ {
|
|
|
+ toastStyleClasses: 'bg-warning text-dark',
|
|
|
+ }
|
|
|
);
|
|
|
console.warn(`Error obtaining data from ${this.serviceBaseUrl}.`);
|
|
|
console.log(error);
|
|
|
@@ -323,7 +329,10 @@ export class AdjusterService {
|
|
|
} catch (error) {
|
|
|
this.hsToastService.createToastPopupMessage(
|
|
|
'Error loading ontology',
|
|
|
- `Web service at ${this.serviceBaseUrl} unavailable!`
|
|
|
+ `Web service at ${this.serviceBaseUrl} unavailable! Please, try again later!`,
|
|
|
+ {
|
|
|
+ toastStyleClasses: 'bg-warning text-dark',
|
|
|
+ }
|
|
|
);
|
|
|
console.warn(`Web service at ${this.serviceBaseUrl} unavailable!`);
|
|
|
console.log(error);
|