From 4aa49216c3668f8aa597eb2fe3b83cd15cad7762 Mon Sep 17 00:00:00 2001 From: subnub Date: Fri, 30 Aug 2019 11:04:25 -0400 Subject: [PATCH] Added error message to write database --- .DS_Store | Bin 10244 -> 10244 bytes index.js | 9 ++++++--- package.json | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.DS_Store b/.DS_Store index 024f823a927191c8c45cc9d56b643b837d3cff8c..715b091261967ea3cb148454e78dfcfc5772c4da 100644 GIT binary patch delta 100 zcmZn(XbG6$UDU^hRb;$|L!SY}Zch7^WOhGK@2r1Ii|q@4UD1_p*xlRt_#@JLoy xn;RJDDCim)m`)OwWt=rxPFS9IHc%d}XLFSBX70`G3cpw;*GbrKb`v?m1OSb-93}t& delta 41 xcmZn(XbG6$&nUk!U^hRb{AM13Smw>iB1^a@HvHPmuJDUx@?4?l&0%6Im;f { try { await writeAllDatabaseFiles(); - + } catch(e) { errors.report(APP_VERSION + "Caught DB Write Error: " + e); + syncStarted = false; + document.getElementById("syncStatus").innerHTML = "Database Error, Please Try Again"; + return; } diff --git a/package.json b/package.json index 2dff412..d2950e8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "syncMessage-2", - "version": "2.0.5", + "version": "2.0.6", "description": "", "main": "main.js", "scripts": {