Collect Film's nested data on mounted (Locations/Vehicles/People)
This commit is contained in:
@@ -15,7 +15,7 @@ export const actions = {
|
||||
if (callback) return person;
|
||||
commit("setPerson", person);
|
||||
} catch (e) {
|
||||
throw Error("API Error occurred.");
|
||||
throw Error(`API Error occurred: ${e.message}`);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user