Skip to content
This repository has been archived by the owner on Jan 22, 2020. It is now read-only.

Server will now only try to send one response for per request #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mpmckenna8
Copy link

Server logic in controller.js will no longer log or catch errors from trying to rewrite headers. Basically every response gets a res_msg which is a string onto which either errors are appended, or if succesful the tx code is added and sent, showing the client it worked. An alternative would be to use res.write to keep adding stuff to the response.

addresses #40

Signed-off-by: mpmckenna8 [email protected]

… and will no longer log or catch errors from trying to rewrite headers. Basically every response gets a res_msg which is a string onto which either errors are appended, or if succesful the tx code is added and sent, showing the client it worked. An alternative would be to use res.write to keep adding stuff to the response.

Signed-off-by: mpmckenna8 <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant