mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add some extra logging
This commit is contained in:
parent
26d832bb92
commit
62fdb866a8
1 changed files with 2 additions and 0 deletions
|
|
@ -64,6 +64,7 @@ const createHttpTaskWithToken = async ({
|
|||
> => {
|
||||
// If there is no Google Cloud Project Id exposed, it means that we are in local environment
|
||||
if (env.dev.isLocal || !project) {
|
||||
console.log('nbot creating task, no project info')
|
||||
return null
|
||||
}
|
||||
|
||||
|
|
@ -110,6 +111,7 @@ const createHttpTaskWithToken = async ({
|
|||
try {
|
||||
return client.createTask({ parent, task })
|
||||
} catch (error) {
|
||||
console.log('error creating task', error)
|
||||
logError(error)
|
||||
return null
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue