diff options
author | Teddy Wing | 2017-05-09 01:21:57 +0200 |
---|---|---|
committer | Teddy Wing | 2017-05-09 01:21:57 +0200 |
commit | f0d5da113c59f364ffea3e840a9e871882478051 (patch) | |
tree | 47dcfec5a2577bcbf3152cd0c129daa13981233e /src/lib.rs | |
parent | 0fe722bbc2e53278dad2bab9268a3cca52e19825 (diff) | |
download | HearURL-f0d5da113c59f364ffea3e840a9e871882478051.tar.bz2 |
open_stream(): Don't terminate the TCP listener on error
Previously, errors would be returned immediately by the `?`/`try!`s.
Handle errors directly instead of returning them. Otherwise, the stream
listener would terminate, exiting the program, and forcing users to
restart it in order to restore functionality.
Diffstat (limited to 'src/lib.rs')
0 files changed, 0 insertions, 0 deletions