You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running npm run test as part of the workshop preparation, I get heaps of error related to Object.error
2 | const errorHandler = {
3 | handleError: async (errorToHandle) => {
> 4 | console.error(errorToHandle);
| ^
5 | metricsExporter.fireMetric('error', {
6 | errorName: errorToHandle.name || 'generic-error',
7 | });
at Object.error [as handleError] (src/error-handling.js:4:13)
at handleError (src/entry-points/sensors-api.js:110:24)
at Layer.handle_error (node_modules/express/lib/router/layer.js:71:5)
at trim_prefix (node_modules/express/lib/router/index.js:326:13)
at node_modules/express/lib/router/index.js:286:9
at Function.process_params (node_modules/express/lib/router/index.js:346:12)
at next (node_modules/express/lib/router/index.js:280:10)
at node_modules/express/lib/router/index.js:646:15
at next (node_modules/express/lib/router/index.js:265:14)
at next (node_modules/express/lib/router/route.js:136:14)
at next (src/entry-points/sensors-api.js:65:7)
The text was updated successfully, but these errors were encountered:
Hi @goldbergyoni ,
When running
npm run test
as part of the workshop preparation, I get heaps of error related toObject.error
The text was updated successfully, but these errors were encountered: