Skip to content

Commit

Permalink
chore: update mikroorm and more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleyww93 committed Dec 31, 2024
1 parent 73fcf74 commit 077c437
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
"@apollo/client": "^3.8.1",
"@apollo/server": "^4.10.0",
"@aws-sdk/client-s3": "^3.637.0",
"@mikro-orm/cli": "^6.3.6",
"@mikro-orm/core": "^6.3.6",
"@mikro-orm/migrations": "^6.3.6",
"@mikro-orm/cli": "^6.3.13",
"@mikro-orm/core": "^6.3.13",
"@mikro-orm/migrations": "^6.3.13",
"@mikro-orm/nestjs": "^6.0.2",
"@mikro-orm/postgresql": "^6.3.6",
"@mikro-orm/postgresql": "^6.3.13",
"@mikro-orm/sql-highlighter": "^1.0.1",
"@nestjs-shopify/auth": "^4.2.0",
"@nestjs-shopify/core": "^3.3.0",
Expand Down
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ async function bootstrap() {
maxValueLength: 1250,
async beforeSend(event: SentryEvent, hint?: EventHint): Promise<SentryEvent | null> {
//Do some filtering here
console.log('Sentry before send', event);
return event;
},
});
Expand Down
3 changes: 2 additions & 1 deletion src/modules/shopify/auth/no.oauth.cookie.exception.filter.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ArgumentsHost, Catch, ExceptionFilter, HttpException, HttpStatus } from '@nestjs/common';
import { ArgumentsHost, Catch, ExceptionFilter } from '@nestjs/common';
import { ExtendedLogger } from '../../../utils/ExtendedLogger';
import { HtmlUtils } from '../../../utils/HtmlUtils';
import { Request, Response } from 'express';
Expand Down Expand Up @@ -30,6 +30,7 @@ export class NoOAuthCookieExceptionFilter implements ExceptionFilter {
return;
}

this.logger.debug(`rethorwing`);
throw exception;
}
}

0 comments on commit 077c437

Please sign in to comment.