forked from EVOgeek/Vmeda.Online
MOBILE-4270 core: Add missing error details
This commit is contained in:
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…
x
Reference in New Issue
Block a user