forked from enlightenment/efl
ecore-wl2: only print socket ERR messages when not attempting to reconnect
reduces spamming in logs
This commit is contained in:
parent
8a5abfbfc3
commit
037a3916bc
|
@ -300,11 +300,13 @@ _recovery_timer_add(Ecore_Wl2_Display *ewd)
|
|||
static void
|
||||
_begin_recovery_maybe(Ecore_Wl2_Display *ewd)
|
||||
{
|
||||
ERR("Wayland Socket Error: %s", strerror(errno));
|
||||
if (ewd->wl.session_recovery)// && (errno == EPIPE))
|
||||
_recovery_timer_add(ewd);
|
||||
else
|
||||
{
|
||||
ERR("Wayland Socket Error: %s", strerror(errno));
|
||||
_ecore_wl2_display_signal_exit();
|
||||
}
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
|
|
Loading…
Reference in New Issue