Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Handling is not done properly #89

Open
Ashik155 opened this issue Mar 11, 2024 · 1 comment
Open

Error Handling is not done properly #89

Ashik155 opened this issue Mar 11, 2024 · 1 comment
Labels
bug Bug or defect

Comments

@Ashik155
Copy link

Runtime

nodejs

Runtime version

16.15

Module version

4.1.1

Last module version without issue

No response

Used with

hapi server cache.

Any other relevant information

image Recentyl we have noticed that this error is not getting handled properly.

What are you trying to achieve or the steps to reproduce?

a proper error handling and following that next steps for smooth processing

What was the result you got?

Cache size limit reached, stack: Error: Cache size limit reached\n at module.exports.internals.Connection.set (/opt/bba/server/node_modules/@hapi/catbox-memory/lib/index.js:184:19)\n at module.exports.set (/opt/bba/server/node_modules/@hapi/catbox/lib/client.js:91:31)\n at module.exports.internals.Policy.set (/opt/bba/server/node_modules/@hapi/catbox/lib/policy.js:298:31)\n at internals.onPreResponse (/opt/bba/server/node_modules/@hapi/yar/lib/index.js:307:17)\n at async module.exports.internals.Manager.execute (/opt/bba/server/node_modules/@hapi/hapi/lib/toolkit.js:45:28)\n at async Request._invoke (/opt/bba/server/node_modules/@hapi/hapi/lib/request.js:339:30)\n at async Request._postCycle (/opt/bba/server/node_modules/@hapi/hapi/lib/request.js:402:32)\n at async Request._reply (/opt/bba/server/node_modules/@hapi/hapi/lib/request.js:381:9)\n"}

What result did you expect?

It should provide better error handling

@Ashik155 Ashik155 added the bug Bug or defect label Mar 11, 2024
@Marsup
Copy link
Contributor

Marsup commented Mar 11, 2024

Please provide a full reproduction for your issue. Note that duplicating your issue is neither necessary nor helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug or defect
Projects
None yet
Development

No branches or pull requests

2 participants