I'm trying to log a statement in an async function as follows:
async generateCharts (insights) {
const { url } = await this.reportsClient.createReport(insights)
console.log('url from reports', url)
return this.parse(url)
}
Log statement doesn't show up though, and I'm sure it's because of the async function. Is that correct? Anyway to work around this?