0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-05 21:02:43 +00:00

changing messaging about googleActions

This commit is contained in:
Gazook89
2022-11-29 12:57:27 -06:00
parent 5cd50f7138
commit ca6f8d085a

View File

@@ -15,8 +15,12 @@ try {
'https://www.googleapis.com/auth/drive' 'https://www.googleapis.com/auth/drive'
]; ];
} catch (err) { } catch (err) {
console.warn(err); if(!keys){
console.log('Please make sure that a Google Service Account is set up properly in your config files.'); console.log('No Google Service Account in config files - Google Drive functionality will not function.');
} else {
console.warn(err);
console.log('Please make sure that a Google Service Account is set up properly in your config files.');
}
} }
google.options({ auth: serviceAuth || config.get('google_api_key') }); google.options({ auth: serviceAuth || config.get('google_api_key') });