SAP / fundamental-tools

Web applications with ABAP, done simple.
Apache License 2.0
70 stars 13 forks source link

Catching ABAP metadata processing exceptions #26

Closed bsrdjan closed 3 years ago

bsrdjan commented 3 years ago

Describe the bug

Exceptions from ABAP metadata processing not caught:

abap call MME stfc_connection1 

 MME (en) 

node:internal/process/promises:246
          triggerUncaughtException(err, true /* fromPromise */);
          ^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "RFM not found: STFC_CONNECTION1".] {
  code: 'ERR_UNHANDLED_REJECTION'
}

To Reproduce Run abap call MME stfc_connection1