Skip to content

Connecting to a database Redis #1136

Answered by uNetworkingAB
youfeed asked this question in Q&A
Discussion options

You must be logged in to vote

Your example doesn't work because you're neither responding nor attaching an onAborted handler, so the process will terminate like so:

Error: Returning from a request handler without responding or attaching an abort handler is forbidden!

Instead of writing from gut feeling and then complaining about it not working, you can take an existing example and simply add your Redis call.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@uNetworkingAB
Comment options

Answer selected by uNetworkingAB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants