Arreglo de bugs ordes

This commit is contained in:
2026-04-22 12:59:23 +02:00
parent 9a29f49669
commit fbdb64f3a1
3 changed files with 5 additions and 1 deletions

View File

@@ -50,6 +50,7 @@ export class SimNosUsecases {
status: "failed",
correlation_id: correlation_id,
reason: reason,
error: reason,
stackTrace: detail
}
const order = await this.orderRepository.errorOrder(updateData)
@@ -72,6 +73,7 @@ export class SimNosUsecases {
const res = await func(args)
if (res.error != undefined) {
console.log("Error peticion: ", res)
if (correlation_id != undefined)
this.setFailed(correlation_id, res.error).then()
return res;