Add a more helpful message if cause of failure is known

This commit is contained in:
D. Berge
2025-08-06 10:41:08 +02:00
parent 36d86c176a
commit 96db6b1376

View File

@@ -111,6 +111,7 @@ async function getLineName (client, projectId, payload) {
} else {
// TODO send a user notification via WS to let them know
// they haven't configured the line name parameters
throw { status: 400, message: `Line name format parameters missing or invalid. Please check Line name format in this project's [configuration settings](./configuration)` };
}
// return undefined