From 244d8a51e83a37b94dbf4603827cbb506bda784d Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Mon, 5 Nov 2018 09:42:59 +0100 Subject: [PATCH] chore(xo-web/xoa/update): dont hide error --- packages/xo-web/src/xo-app/xoa/update/index.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/xo-web/src/xo-app/xoa/update/index.js b/packages/xo-web/src/xo-app/xoa/update/index.js index b983dc098..d1260e2cd 100644 --- a/packages/xo-web/src/xo-app/xoa/update/index.js +++ b/packages/xo-web/src/xo-app/xoa/update/index.js @@ -118,8 +118,11 @@ const Updates = decorate([

), }) - } catch (_) { - return + } catch (error) { + if (error === null) { + return + } + throw error } }