poorejc opened a new issue #65:
URL: https://github.com/apache/incubator-flagon-useralejs/issues/65


   On 
https://github.com/apache/incubator-flagon-useralejs/tree/flagon-userale-50
   
   sendOnClose is now executed through navigator.sendbeacon (only) triggered on 
visibility state change to 'hidden'. This appears to reliably break the example 
test server
   
   ```
   TypeError: req.body.forEach is not a function
       at 
/Users/jpoore/Documents/Apache_Flagon/test/incubator-flagon-useralejs/example/server.js:77:12
       at Layer.handle [as handle_request] 
(/Users/jpoore/Documents/Apache_Flagon/test/incubator-flagon-useralejs/node_modules/express/lib/router/layer.js:95:5)
       at next 
(/Users/jpoore/Documents/Apache_Flagon/test/incubator-flagon-useralejs/node_modules/express/lib/router/route.js:137:13)
       at Route.dispatch 
(/Users/jpoore/Documents/Apache_Flagon/test/incubator-flagon-useralejs/node_modules/express/lib/router/route.js:112:3)
       at Layer.handle [as handle_request] 
(/Users/jpoore/Documents/Apache_Flagon/test/incubator-flagon-useralejs/node_modules/express/lib/router/layer.js:95:5)
       at 
/Users/jpoore/Documents/Apache_Flagon/test/incubator-flagon-useralejs/node_modules/express/lib/router/index.js:281:22
       at Function.process_params 
(/Users/jpoore/Documents/Apache_Flagon/test/incubator-flagon-useralejs/node_modules/express/lib/router/index.js:335:12)
       at next 
(/Users/jpoore/Documents/Apache_Flagon/test/incubator-flagon-useralejs/node_modules/express/lib/router/index.js:275:10)
       at jsonParser 
(/Users/jpoore/Documents/Apache_Flagon/test/incubator-flagon-useralejs/node_modules/body-parser/lib/types/json.js:119:7)
       at Layer.handle [as handle_request] 
(/Users/jpoore/Documents/Apache_Flagon/test/incubator-flagon-useralejs/node_modules/express/lib/router/layer.js:95:5)
   ```
   
   see https://github.com/apache/incubator-flagon-useralejs/issues/50 for more 
detail


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to