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