You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've added a LogPoint on a line that contains an exception (See #2 for the code example). The LogPoint logExpression is defined as {{exception.stack}}, which will output the exception stack for us to trace back to the original exception point.
The current output looks like this:
UnauthorizedException: Unauthorized at MixinAuthGuard.handleRequest (/app/node_modules/@nestjs/passport/dist/auth.guard.js:68:30) at /app/node_modules/@nestjs/passport/dist/auth.guard.js:49:128 at /app/node_modules/@nestjs/passport/dist/auth.guard.js:91:24 at allFailed (/app/node_modules/passport/lib/middleware/authenticate.js:110:18) at attempt (/app/node_modules/passport/lib/middleware/authenticate.js:183:28) at JwtStrategy.strategy.fail (/app/node_modules/passport/lib/middleware/authenticate.js:305:9) at JwtStrategy.authenticate (/app/node_modules/passport-jwt/lib/strategy.js:96:21) at attempt (/app/node_modules/passport/lib/middleware/authenticate.js:369:16) at authenticate (/app/node_modules/passport/lib/middleware/authenticate.js:370:7) at /app/node_modules/@nestjs/passport/dist/auth.guard.js:96:3 at new Promise (<anonymous>) at /app/node_modules/@nestjs/passport/dist/auth.guard.js:88:83 at MixinAuthGuard.<anonymous> (/app/node_modules/@nestjs/passport/dist/auth.guard.js:49:36) at Generator.next (<anonymous>) at fulfilled (/app/node_modules/@nestjs/passport/dist/auth.guard.js:17:58) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
It looks like there's an encoding (HTML encoding I think?) that's not being decoded properly in VSCode's visualization.
This is what it should look like when I decode it manually:
UnauthorizedException: Unauthorized at MixinAuthGuard.handleRequest (/app/node_modules/@nestjs/passport/dist/auth.guard.js:68:30) at /app/node_modules/@nestjs/passport/dist/auth.guard.js:49:128 at /app/node_modules/@nestjs/passport/dist/auth.guard.js:91:24 at allFailed (/app/node_modules/passport/lib/middleware/authenticate.js:110:18) at attempt (/app/node_modules/passport/lib/middleware/authenticate.js:183:28) at JwtStrategy.strategy.fail (/app/node_modules/passport/lib/middleware/authenticate.js:305:9) at JwtStrategy.authenticate (/app/node_modules/passport-jwt/lib/strategy.js:96:21) at attempt (/app/node_modules/passport/lib/middleware/authenticate.js:369:16) at authenticate (/app/node_modules/passport/lib/middleware/authenticate.js:370:7) at /app/node_modules/@nestjs/passport/dist/auth.guard.js:96:3 at new Promise (<anonymous>) at /app/node_modules/@nestjs/passport/dist/auth.guard.js:88:83 at MixinAuthGuard.<anonymous> (/app/node_modules/@nestjs/passport/dist/auth.guard.js:49:36) at Generator.next (<anonymous>) at fulfilled (/app/node_modules/@nestjs/passport/dist/auth.guard.js:17:58) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
The text was updated successfully, but these errors were encountered:
I've added a LogPoint on a line that contains an exception (See #2 for the code example). The LogPoint logExpression is defined as
{{exception.stack}}
, which will output the exception stack for us to trace back to the original exception point.The current output looks like this:
It looks like there's an encoding (HTML encoding I think?) that's not being decoded properly in VSCode's visualization.
This is what it should look like when I decode it manually:
The text was updated successfully, but these errors were encountered: