Spaces:
Sleeping
Sleeping
error
Browse files306 unmodified lines307308309310311312313314315316317318306 unmodified lines// End the response streamres.end();} catch (error) {console.log(error);if (!res.headersSent) {res.status(500).send({ok: false,message:"An error occurred while processing your request. Please try again later.",});} else {// Otherwise end the stream306 unmodified lines307308309310311312313314315316317306 unmodified lines// End the response streamres.end();} catch (error) {if (!res.headersSent) {res.status(500).send({ok: false,message:error.message || "An error occurred while processing your request.",});} else {// Otherwise end the stream
server.js+1-2