Skip to content

How to stop sending the req after an exception being thrown  #338

@borzoum

Description

@borzoum

onProxyReq: (proxyReq, req, res) => {
try{
//something
}catch(err){
res.send(500);
}
even after sending back 500 to the caller, the proxy still tries to send the request ti the servcer.
What am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions