Skip to content

Commit

Permalink
Merge pull request #242 from os-moussao/feat/log-detailed-error
Browse files Browse the repository at this point in the history
feat(cache-manager): log detailed error when set cache key fails
  • Loading branch information
kamilmysliwiec authored Jan 8, 2024
2 parents ac95e4e + 1d095a3 commit df2b019
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/interceptors/cache.interceptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export class CacheInterceptor implements NestInterceptor {
} catch (err) {
Logger.error(
`An error has occurred when inserting "key: ${key}", "value: ${response}"`,
err.stack,
'CacheInterceptor',
);
}
Expand Down

0 comments on commit df2b019

Please sign in to comment.