aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/Recipe.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/models/Recipe.js')
-rw-r--r--src/models/Recipe.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/models/Recipe.js b/src/models/Recipe.js
index 4b613a40c..9971df77c 100644
--- a/src/models/Recipe.js
+++ b/src/models/Recipe.js
@@ -26,7 +26,8 @@ export default class Recipe {
26 } 26 }
27 27
28 if (!data.id) { 28 if (!data.id) {
29 throw Error('Recipe requires Id'); 29 // Franz 4 recipes do not have an Id
30 throw Error(`Recipe '${data.name}' requires Id`);
30 } 31 }
31 32
32 this.id = data.id || this.id; 33 this.id = data.id || this.id;