From 29e166ff54a4b92f2c47092d05c6d66742c196e1 Mon Sep 17 00:00:00 2001 From: Minor Arrieta Rojas <3359567+marnutux@users.noreply.github.com> Date: Sat, 7 Sep 2024 11:44:54 -0600 Subject: [PATCH] Improve logging and update version --- package.json | 2 +- src/ATV/useCases/createReceptorMessage/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index cf93193..216ff0a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@facturacr/atv-sdk", - "version": "1.2.1", + "version": "1.2.2", "description": "Librería (SDK) de Javascript/NodeJS para acceder al API de Administración Tributaria Virtual (ATV) del Ministerio de Hacienda.", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", diff --git a/src/ATV/useCases/createReceptorMessage/index.ts b/src/ATV/useCases/createReceptorMessage/index.ts index 78c13ff..0798d13 100644 --- a/src/ATV/useCases/createReceptorMessage/index.ts +++ b/src/ATV/useCases/createReceptorMessage/index.ts @@ -123,7 +123,7 @@ export class CreateReceptorMessageCommand { receptorConcecutive: receptorConsecutive.value } } catch (err) { - throw new Error('Error parsing the document', err) + throw new Error(`Error parsing the document ${err}`) } } } \ No newline at end of file