Spaces:
Sleeping
Sleeping
generic error
Browse files306 unmodified lines307308309310311312313314315316317318306 unmodified lines// End the response streamres.end();} catch (error) {if (!res.headersSent) {res.status(500).send({ok: false,openSelectProvider: true,message:"An error occurred while processing your request. Please try again or switch provider.",});} else {// Otherwise end the stream306 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 stream
server.js+2-2