Skip to content

Commit

Permalink
build: merge from development
Browse files Browse the repository at this point in the history
  • Loading branch information
theblockstalk committed Jul 6, 2024
2 parents 76f674e + 4182b57 commit 5b653c0
Show file tree
Hide file tree
Showing 3 changed files with 1,162 additions and 1,334 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@nestjs/platform-socket.io": "^10.2.3",
"@nestjs/swagger": "^7.1.10",
"@nestjs/websockets": "^10.2.3",
"@tonomy/tonomy-id-sdk": "0.21.0",
"@tonomy/tonomy-id-sdk": "0.21.0-development.4",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"hcaptcha": "^0.1.1",
Expand Down
4 changes: 2 additions & 2 deletions src/accounts/accounts.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { Response } from 'express';
@Controller('accounts')
export class AccountsController {
private readonly logger = new Logger(AccountsController.name);
constructor(private accountService: AccountsService) {}
constructor(private accountService: AccountsService) { }

@Post()
@ApiOperation({
Expand Down Expand Up @@ -66,7 +66,7 @@ export class AccountsController {
response.status(HttpStatus.CREATED).send(val);
} 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);
}
Expand Down
Loading

0 comments on commit 5b653c0

Please sign in to comment.