From ad123aa3b3d51907c9774da8ce5b75582cc345e9 Mon Sep 17 00:00:00 2001 From: igoradamenko Date: Mon, 12 Nov 2018 20:43:31 +0200 Subject: [PATCH] add error logging for storage access --- web/app/components/root/root.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/app/components/root/root.jsx b/web/app/components/root/root.jsx index b9d3ff47..6dbed9f0 100644 --- a/web/app/components/root/root.jsx +++ b/web/app/components/root/root.jsx @@ -130,9 +130,10 @@ export default class Root extends Component { // Now we have first-party storage access! signIn(); }) - .catch(() => { + .catch(e => { // error obtaining storage access. console.log('cant get storage access'); // eslint-disable-line no-console + console.error(e); }); } else { signIn();