From db68c7faa90edc8ab3411c8c347a3bf7b112fc9e Mon Sep 17 00:00:00 2001
From: Bram Kragten <mail@bramkragten.nl>
Date: Tue, 28 Nov 2023 08:21:19 +0100
Subject: [PATCH] Log errors when downloading lokalise translations (#18781)

---
 build-scripts/gulp/download-translations.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/build-scripts/gulp/download-translations.js b/build-scripts/gulp/download-translations.js
index c1e4064f67a8..70a3cc12f18c 100644
--- a/build-scripts/gulp/download-translations.js
+++ b/build-scripts/gulp/download-translations.js
@@ -161,6 +161,10 @@ gulp.task("fetch-lokalise", async function () {
             })
           );
         })
+        .catch((err) => {
+          console.error(err);
+          throw err;
+        })
     )
   );
 });