-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sefran3 crashes when using fdsnws-dataselect and web server does not respond #16
Comments
the command
So for this particular issue, we have two solutions: |
Thanks for the information about Adding 'warning' to the
We could retain this behaviour, unless one prefers to add an option to choose between the two behaviour. My preference would be to always use with the |
Oops, wrong button, I did not intend to close the issue ^^ |
For the record, as François made me notice, my statement below is wrong, sorry for misreading the comments and not double checking the code. My bad...
|
The Sefran3 process crashes when doing a
fdsnws-dataselect
request while the remote web server providing the fdsnws service is not available.This is the error from the stderr file :
As one can see, this is due to the wget system call on line 597 of
sefran3.m
(in WebObs 2.1.2c) :wosystem(sprintf('wget -nv -O %s "%s%s"',fmsdchan,datasource,wsreq),SEFRAN3);
I'm surprised that this
wget
error crashes the whole process. The expected behaviour would be to display an error message and continue with the realtime data plotting. A try/catch block would probably be useful here to catch the error without dying.The text was updated successfully, but these errors were encountered: