zet-lib 1.2.104 → 1.2.105
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/zRoute.js +2 -0
- package/package.json +1 -1
package/lib/zRoute.js
CHANGED
|
@@ -3699,6 +3699,7 @@ zRoute.insertSQL = async (req, res, table, data) => {
|
|
|
3699
3699
|
zRoute.modelsCacheRenew(table, res.locals.companyId)
|
|
3700
3700
|
return result
|
|
3701
3701
|
} catch (e) {
|
|
3702
|
+
throw Error(e + '')
|
|
3702
3703
|
console.log(e)
|
|
3703
3704
|
}
|
|
3704
3705
|
}
|
|
@@ -3813,6 +3814,7 @@ zRoute.updateSQL = async (req, res, table, data, whereData) => {
|
|
|
3813
3814
|
return result
|
|
3814
3815
|
}
|
|
3815
3816
|
} catch (e) {
|
|
3817
|
+
throw Error(e + '')
|
|
3816
3818
|
console.log(e)
|
|
3817
3819
|
}
|
|
3818
3820
|
}
|