throw "string" -> throw new Error("string"
This commit is contained in:
@@ -415,7 +415,7 @@ export default {
|
||||
vm.formState.loading = true;
|
||||
|
||||
if (!recordId) {
|
||||
throw FORM_KEY + "::getDataFromApi -> Missing recordID!";
|
||||
throw new Error(FORM_KEY + "::getDataFromApi -> Missing recordID!");
|
||||
}
|
||||
let url = API_BASE_URL + recordId;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user