Open vitoyucepi opened 2 years ago
Thanks for this report. I am not sure yet how to deal with it. Streaming errors are major errors. How do you suggest one should catch and recover from it?
I use output.file
to create archive of live streams.
For me this means that the main consumer of the source is icecast.
I would rather ignore the error here than get a full stop. Also I think that the same will happen if the storage device will be full.
Nevertheless I could terminate server in error handler by myself.
Thanks. That makes sense. I'll see what I can do.
Still there
I think I could implement a generic error catching code in 2.3.x
now that we have switched to OCaml 5 with effect handlers. I'll see if I can come up with something soon.
Describe the bug Using
output.file
to dump thesource
, causes shutdown if system error happened. If this happened, then there's no way you can intercept the error.To Reproduce The script to test, ensure
/restricted/path/test.ogg
will not accessible by liquidsoap.Expected behavior I think it's better to throw an exception instead of shutting down the server.
Version details
ubuntu:20.04
in docker2.0.5
Install method Deb package from liquidsoap ci artifacts at github
Common issues N/A