Skip to content

Commit

Permalink
feat(cache-manager): log detailed error when set cache key fails
Browse files Browse the repository at this point in the history
  • Loading branch information
os-moussao committed Dec 12, 2023
1 parent 6e95e9d commit 1d095a3
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 1d095a3

Please sign in to comment.