mirror of https://github.com/buster-so/buster.git
lint fix
This commit is contained in:
parent
3eb80ae630
commit
a3c4238da1
|
@ -35,6 +35,7 @@ export async function getDataSourceCredentials(
|
|||
try {
|
||||
return JSON.parse(secretString);
|
||||
} catch (parseError) {
|
||||
console.error(parseError);
|
||||
throw new Error(
|
||||
`Failed to parse credentials for data source ID ${validated.dataSourceId}: Invalid JSON format`
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue