mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 06:47:07 +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 {
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user