From 803abf106bc87ee3b1b6abeb41b1a5112e6b2dee Mon Sep 17 00:00:00 2001 From: Mama Naomi Date: Wed, 17 Jan 2024 23:06:06 -0800 Subject: [PATCH] fix(tools): make error message slightly less cryptic (#53237) --- curriculum/test/test-challenges.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/curriculum/test/test-challenges.js b/curriculum/test/test-challenges.js index 8b59c38fe48..312f8bd59f5 100644 --- a/curriculum/test/test-challenges.js +++ b/curriculum/test/test-challenges.js @@ -613,7 +613,9 @@ function replaceChallengeFilesContentsWithSolutions( ({ ext, name }) => ext === file.ext && file.name === name ); if (!matchingSolutionFile) { - throw Error(`No matching solution file found`); + throw Error( + `No matching solution file found for ${file.name}.${file.ext} - this likely means the seed code for the next step is missing the ${file.ext} code block.` + ); } return { ...file,