I added a new relic plugin to my seneca microservice, so requests can be logged with a name that makes sense instead of being grouped under /*. After adding this plugin, requests started to fail with the following error:
"notice":"seneca: Action role:movements failed: \"value\" required in setHeader(\"seneca-id\", value).","code":"act_execute","err":
I added a new relic plugin to my seneca microservice, so requests can be logged with a name that makes sense instead of being grouped under /*. After adding this plugin, requests started to fail with the following error:
"notice":"seneca: Action role:movements failed: \"value\" required in setHeader(\"seneca-id\", value).","code":"act_execute","err":
This is the wrapper:
Usage of the plugin:
this.seneca.use(newRelicPlugin);
What could be causing the seneca-id header to disappear? Is it because of the wrap function? Is there a better way to do this?