This commit is contained in:
D065023
2019-12-16 11:11:25 +01:00
parent 83653bd095
commit 811694cdf1

View File

@@ -64,10 +64,7 @@ async function _readAddresses (req) {
try { try {
return txExt.run(ql) return txExt.run(ql)
} catch (e) { } catch (e) {
// If external system is not available, use own replicated data console.log(e)
console.error(e)
const tx = cds.transaction(req)
return tx.run(ql)
} }
} }
@@ -88,8 +85,6 @@ async function _fillAddress (req) {
await tx.run(qlStatement) await tx.run(qlStatement)
} }
} catch (e) { } catch (e) {
// If external system is not available and data was fetched
// using own replicated data, nothing needs to be done here.
} }
} }
} }