Open dreamdevil00 opened 5 years ago
Write other if any:
I passed a wrong baseUrl to config accidently
const baseUrl = window.location.host; LoopBackConfig.setBaseUrl(baseUrl);
when I call api, an DOMException error occured, and report the error as title. The DOMException error message is
DOMException: Failed to execute 'open' on 'XMLHttpRequest': Invalid URL
Related code: LINK
we should make sure errorResponse.error exists, PTAL
errorResponse.error
What type of issue are you creating?
What version of this module are you using?
Write other if any:
Please add a description for your issue:
I passed a wrong baseUrl to config accidently
when I call api, an DOMException error occured, and report the error as title. The DOMException error message is
Related code: LINK
we should make sure
errorResponse.error
exists, PTAL