Bulk prepare handler is freezing if MONGODB is disabled #3020
Labels
bug
Something isn't working or it has wrong behavior on a Mojaloop Core service
core-dev-squad
oss-core
This is an issue - story or epic related to a feature on a Mojaloop core service or related to it
Summary:
Bulk prepare handler is freezing if MONGODB is disabled
Severity:
(Low, Medium, High)
Priority:
(Critical, Medium, Low)
Expected Behavior
If the MONGODB is expected to be enabled, the bulk prepare handler should report an error at least instead of freezing.
Steps to Reproduce
Specifications
Notes:
It seems the mongoose model creation is causing this issue at the following line
https://github.com/mojaloop/central-ledger/blob/2a9c21d3d65cc0641fb285c4a977b6d0e0852584/src/handlers/bulk/prepare/handler.js#L192
The text was updated successfully, but these errors were encountered: