Skip to content
Snippets Groups Projects
Commit e5f705c6 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Don't exit on a trivial socket error.

parent 079b5a77
No related branches found
No related tags found
No related merge requests found
......@@ -391,6 +391,8 @@ fiber_loop(void *data __attribute__((unused)))
} @catch (FiberCancelException *e) {
say_info("fiber `%s' has been cancelled", fiber->name);
say_info("fiber `%s': exiting", fiber->name);
} @catch (tnt_Exception *e) {
[e log];
} @catch (id e) {
say_error("fiber `%s': exception `%s'", fiber->name, object_getClassName(e));
panic("fiber `%s': exiting", fiber->name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment