0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-06 12:12:42 +00:00

add log line to explain what to do when the service account cannot be found

This commit is contained in:
Charlie Humphreys
2022-02-16 22:03:01 -06:00
parent 7cc7bd4786
commit 8ea2780a44

View File

@@ -16,6 +16,7 @@ try {
]; ];
} catch (err) { } catch (err) {
console.warn(err); 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') });