@rpcbase/server 0.294.0 → 0.295.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/server",
3
- "version": "0.294.0",
3
+ "version": "0.295.0",
4
4
  "license": "SSPL-1.0",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -95,7 +95,8 @@ const client_router = (app) => {
95
95
 
96
96
  // TODO: this should not be here
97
97
  app.use((err, req, res, next) => {
98
- console.error("server got err", err)
98
+ console.error("server got err2", err)
99
+ console.log("stack:", err.stack)
99
100
  res.status(500).json({
100
101
  status: "error",
101
102
  message: "something went wrong",