From 9372dfb6cdfed24f18330849792d05b256a8a7eb Mon Sep 17 00:00:00 2001 From: "Benjamin E. Coe" Date: Mon, 6 Apr 2020 13:05:32 -0700 Subject: [PATCH] fix: in rare cases test can take longer than 180,000 timeout (#307) --- asset/snippets/exportAssets.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/asset/snippets/exportAssets.js b/asset/snippets/exportAssets.js index 64f64a02a09..a3fcbfba736 100644 --- a/asset/snippets/exportAssets.js +++ b/asset/snippets/exportAssets.js @@ -49,7 +49,9 @@ async function main(dumpFilePath) { // Do things with with the response. console.log(result); } - exportAssets(); + exportAssets().catch((err) => { + throw err; + }); // [END asset_quickstart_export_assets] }