mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-01 17:22:42 +00:00
Popup error when gDrive credentials are expired on both /edit and /new
This commit is contained in:
@@ -168,6 +168,7 @@ GoogleActions = {
|
||||
.catch((err)=>{
|
||||
console.log('Error saving to google');
|
||||
console.error(err);
|
||||
throw (err);
|
||||
//return res.status(500).send('Error while saving');
|
||||
});
|
||||
}
|
||||
@@ -203,8 +204,9 @@ GoogleActions = {
|
||||
media : media
|
||||
})
|
||||
.catch((err)=>{
|
||||
console.log('Error while creating new Google brew');
|
||||
console.error(err);
|
||||
return res.status(500).send('Error while creating google brew');
|
||||
throw (err);
|
||||
});
|
||||
|
||||
if(!obj) return;
|
||||
|
||||
Reference in New Issue
Block a user