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.
Files changed (2) hide show
  1. package/lib/zRoute.js +2 -0
  2. 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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zet-lib",
3
- "version": "1.2.104",
3
+ "version": "1.2.105",
4
4
  "description": "zet is a library that part of zet generator.",
5
5
  "engines": {
6
6
  "node": ">=18"