Output something if Google Auth fails
This commit is contained in:
parent
99f0d1bef6
commit
e671b823e9
1 changed files with 3 additions and 1 deletions
|
@ -11,7 +11,9 @@ if (!process.env.GOOGLE_EMAIL || !process.env.GOOGLE_PASSWORD) {
|
|||
return;
|
||||
}
|
||||
|
||||
var ready = pm.initAsync({email: process.env.GOOGLE_EMAIL, password: process.env.GOOGLE_PASSWORD});
|
||||
var ready = pm.initAsync({email: process.env.GOOGLE_EMAIL, password: process.env.GOOGLE_PASSWORD}).catch(function(err) {
|
||||
console.log(err)
|
||||
});
|
||||
|
||||
module.exports.match = require('./url').match;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue