From 11142693d79276cbee98bae1fef7c81437885738 Mon Sep 17 00:00:00 2001 From: sadiabbasi Date: Thu, 4 Jul 2024 12:03:29 +0300 Subject: [PATCH 1/2] added error details log --- src/accounts/accounts.controller.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/accounts/accounts.controller.ts b/src/accounts/accounts.controller.ts index 99b65fc..44948b9 100644 --- a/src/accounts/accounts.controller.ts +++ b/src/accounts/accounts.controller.ts @@ -67,6 +67,7 @@ export class AccountsController { } catch (e) { if (e instanceof HttpException) throw e; console.error(e); + console.log('Error Detail', JSON.stringify(e, null, 2)); this.logger.error(e); throw new HttpException(e.message, HttpStatus.INTERNAL_SERVER_ERROR); } From 0198ccd34bbad99484e860f5b1e8df44ce9e1ff4 Mon Sep 17 00:00:00 2001 From: sadiabbasi Date: Thu, 4 Jul 2024 12:05:26 +0300 Subject: [PATCH 2/2] update sdk --- package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index fb2504d..aa855e4 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "@nestjs/platform-socket.io": "^10.2.3", "@nestjs/swagger": "^7.1.10", "@nestjs/websockets": "^10.2.3", - "@tonomy/tonomy-id-sdk": "0.19.0", + "@tonomy/tonomy-id-sdk": "0.21.0-development.4", "class-transformer": "^0.5.1", "class-validator": "^0.14.0", "hcaptcha": "^0.1.1", diff --git a/yarn.lock b/yarn.lock index b7c9b55..f084a4a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1576,9 +1576,9 @@ __metadata: languageName: node linkType: hard -"@tonomy/tonomy-id-sdk@npm:0.19.0": - version: 0.19.0 - resolution: "@tonomy/tonomy-id-sdk@npm:0.19.0" +"@tonomy/tonomy-id-sdk@npm:0.21.0-development.4": + version: 0.21.0-development.4 + resolution: "@tonomy/tonomy-id-sdk@npm:0.21.0-development.4" dependencies: "@consento/sync-randombytes": ^1.0.5 "@tonomy/antelope-did": ^0.1.5 @@ -1593,7 +1593,7 @@ __metadata: elliptic: ^6.5.4 socket.io-client: ^4.5.4 universal-base64url: ^1.1.0 - checksum: 05bf0812a27d425f136ace2c27ec98f501a84d0004923047dd1c05d21fd5c1ae8068654ce157b4967f34453d5634af88b4d70fafc656659bc15be746a064ecef + checksum: 48772e7bb6725f5a9e49f2e401b5cfd0d10d7818efbccc0c9451624f1f12f4fa03befae1c432bb95fbf5796ff9a0d538b9744a38af140ff5e6a3830abc7b3b91 languageName: node linkType: hard @@ -7713,7 +7713,7 @@ __metadata: "@nestjs/swagger": ^7.1.10 "@nestjs/testing": ^10.2.3 "@nestjs/websockets": ^10.2.3 - "@tonomy/tonomy-id-sdk": 0.19.0 + "@tonomy/tonomy-id-sdk": 0.21.0-development.4 "@types/express": ^4.17.13 "@types/jest": 29.2.4 "@types/node": 18.11.18