diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-09-05 16:10:53 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-09-05 16:10:53 +0200 |
commit | 8144b0f5535c3d00c1e508cddce3cd88a153a581 (patch) | |
tree | fadefd8febe8574a7e46bf6ffd2b1b89b3a58b55 /src/db.ts | |
parent | fab4e338968b619710e1652f78534a98de2d68d3 (diff) |
welcome page with error diagnostics / react refactoring
Diffstat (limited to 'src/db.ts')
-rw-r--r-- | src/db.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ export function openTalerDb( const req = idbFactory.open(DB_NAME, WALLET_DB_VERSION); req.onerror = e => { console.log("taler database error", e); - reject(e); + reject(new Error("database error")); }; req.onsuccess = e => { req.result.onversionchange = (evt: IDBVersionChangeEvent) => { |