diff options
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) => { |