mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 10:27:09 +00:00
Add a more helpful message if cause of failure is known
This commit is contained in:
@@ -111,6 +111,7 @@ async function getLineName (client, projectId, payload) {
|
|||||||
} else {
|
} else {
|
||||||
// TODO send a user notification via WS to let them know
|
// TODO send a user notification via WS to let them know
|
||||||
// they haven't configured the line name parameters
|
// 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
|
// return undefined
|
||||||
|
|||||||
Reference in New Issue
Block a user