Provide a more descriptive error text

pull/10616/head
deniz kusefoglu 2017-09-12 13:11:16 -07:00
parent 3fab51d62b
commit 66025e2336
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ const getCSV = (query, errorThrown) => async () => {
const {name, CSVString} = resultsToCSV(results)
download(CSVString, `${name}.csv`, 'text/plain')
} catch (error) {
errorThrown(error)
errorThrown(error, 'Unable to download .csv file')
console.error(error)
}
}