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 {
|
try {
|
||||||
return JSON.parse(secretString);
|
return JSON.parse(secretString);
|
||||||
} catch (parseError) {
|
} catch (parseError) {
|
||||||
|
console.error(parseError);
|
||||||
throw new Error(
|
throw new Error(
|
||||||
`Failed to parse credentials for data source ID ${validated.dataSourceId}: Invalid JSON format`
|
`Failed to parse credentials for data source ID ${validated.dataSourceId}: Invalid JSON format`
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue