@xriss/weerss 0.0.22 → 0.0.24

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/db.js +8 -0
  2. package/package.json +1 -1
package/db.js CHANGED
@@ -241,6 +241,8 @@ db.list=async function(table,filter)
241
241
  }
242
242
  // console.log(filters)
243
243
 
244
+ try{
245
+
244
246
  await db.handle.each(`
245
247
 
246
248
  SELECT * FROM ${table}
@@ -251,10 +253,16 @@ db.list=async function(table,filter)
251
253
  try{
252
254
  rs.push(JSON.parse(row.value))
253
255
  }catch(e){
256
+ console.log("BROKEN SQLITE RESULT")
254
257
  console.log(row.value)
255
258
  console.log(e)
256
259
  }
257
260
  })
258
261
 
262
+ }catch(e){
263
+ console.log("BROKEN SQLITE QUERY")
264
+ console.log(e)
265
+ }
266
+
259
267
  return rs // filtered only, sorted by date
260
268
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xriss/weerss",
3
- "version": "0.0.22",
3
+ "version": "0.0.24",
4
4
  "source": "weerss.js",
5
5
  "type": "module",
6
6
  "repository": {