MOBILE-4270 core: Add missing error details
parent
7494f52c79
commit
d3eb50471d
|
@ -752,7 +752,9 @@ export class CoreWSProvider {
|
||||||
throw this.createHttpError(error, error.status);
|
throw this.createHttpError(error, error.status);
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new CoreError(Translate.instant('core.serverconnection'));
|
throw new CoreError(Translate.instant('core.serverconnection', {
|
||||||
|
details: CoreTextUtils.getErrorMessageFromError(error) ?? 'Unknown error',
|
||||||
|
}));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue