Closed retendo closed 3 years ago
You could try remove everything past |>
on this line (channel socket middleware comes before giraffe), it seems suspect and it looks unnecessary https://github.com/SaturnFramework/Saturn/blob/aac8fb1c80ebab3ed96e7c92660512a0c9a2b688/src/Saturn/Channels.fs#L149
I'll give it a go, thanks
This fixes it, thanks @NinoFloris . I don't know if this has any other implications, though. Is there a possibility to fast-track this?
I encountered this issue when using channels in Saturn via add_channel in application CE.
Take the following code:
Not expected If I run this and go to localhost:5000/test I get an empty 200 response:
Expected If I comment out the add_channel line in application CE, I get the expected result. Exception is logged in console and the response is 500 "NOPE!":
Any ideas? Could it be that services are added in such an order that the regular error handling is ignored, or something like that?