mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 17:01:00 +03:00
Remove unnecessary console.log statement and add error handling for missing Google Application Credential
This commit is contained in:
@@ -82,7 +82,6 @@ class GoogleVertexAI_ChatModels implements INode {
|
||||
const projectID = getCredentialParam('projectID', credentialData, nodeData)
|
||||
|
||||
const authOptions: GoogleAuthOptions = {}
|
||||
console.log('credentialData', credentialData)
|
||||
if (Object.keys(credentialData).length !== 0) {
|
||||
if (!googleApplicationCredentialFilePath && !googleApplicationCredential)
|
||||
throw new Error('Please specify your Google Application Credential')
|
||||
|
||||
Reference in New Issue
Block a user