@muze-nl/simplystore 0.9.1 → 0.9.3
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/package.json +3 -3
- package/src/server.mjs +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@muze-nl/simplystore",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.3",
|
|
4
4
|
"main": "src/server.mjs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"homepage": "https://github.com/simplyedit/simplystore#readme",
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@muze-nl/jaqt": "^0.10.3",
|
|
20
|
-
"@muze-nl/jsontag": "^0.10.
|
|
21
|
-
"@muze-nl/od-jsontag": "^0.4.
|
|
20
|
+
"@muze-nl/jsontag": "^0.10.4",
|
|
21
|
+
"@muze-nl/od-jsontag": "^0.4.5",
|
|
22
22
|
"codemirror": "^6.0.1",
|
|
23
23
|
"express": "^4.18.1",
|
|
24
24
|
"json-pointer": "^0.6.2",
|
package/src/server.mjs
CHANGED
|
@@ -375,8 +375,9 @@ async function main(options) {
|
|
|
375
375
|
error = {
|
|
376
376
|
code: 400,
|
|
377
377
|
message: "Bad request",
|
|
378
|
-
details: err
|
|
378
|
+
details: err.message
|
|
379
379
|
}
|
|
380
|
+
console.error('Error: ',err)
|
|
380
381
|
sendResponse({code: 400, body: JSON.stringify(error)}, res)
|
|
381
382
|
return false
|
|
382
383
|
}
|