Describe the bug
Nothing urgent, but when you pass an object with an empty string key in it for the parameter rfmParams to client.call (see screenshot) it will terminate the NodeJS Process without throwing an exception.
To Reproduce
Installed via npm locally. Test script:
const noderfc = require("node-rfc");
const pool = new noderfc.Pool({ connectionParameters: {
dest: "MME", // sap test system connection params
USER:"BPINST",
PASSWD:"Welcome1",
ASHOST:"",
SYSNR:"00",
CLIENT:"100",
LANG:"EN",
} });
(async () => {
try {
// get a client connection instance
const client = await pool.acquire();
const result = await client.call("RFC_PING", {
"": ""
})
console.log(result);
} catch (err) {
// connection and invocation errors
console.error(err);
}
})();
Screenshots
Environment
Additional context
Add any other context about the problem here.
Describe the bug Nothing urgent, but when you pass an object with an empty string key in it for the parameter rfmParams to client.call (see screenshot) it will terminate the NodeJS Process without throwing an exception.
To Reproduce Installed via npm locally. Test script:
Screenshots
Environment
Additional context Add any other context about the problem here.