Skip to content

Conversation

@asolntsev
Copy link

...because they do not have stack trace

I saw that it was intentionally done in 2014 for improving performance. But I think that this intention was wrong. This exception is thrown very rarely.
In normal circumstances, people never use invalid key. If they make an error in their code, they will find it immediately in development phase and fix. They will almost never get this exception in production. It will not affect performance.

Think wider: if application cache doesn't work because of invalid key, you will have much more serious performance problem.

...because they do not have stack trace

I saw that it was intentionally done in 2014 for improving performance. But I think that this intention was wrong. This exception is thrown very rarely.
In normal circumstances, people never use invalid key. If they make an error in their code, they will find it immediately in development phase and fix. They will almost never get this exception in production. It will not affect performance.

Think wider: if application cache doesn't work because of invalid key, you will have much more serious performance problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant