diff --git a/src/local_alsa_multi_listener.cpp b/src/local_alsa_multi_listener.cpp index 273ad9f..2a14c5e 100644 --- a/src/local_alsa_multi_listener.cpp +++ b/src/local_alsa_multi_listener.cpp @@ -157,13 +157,15 @@ void local_alsa_multi_listener_t::send_midi(midipeer_id_t from, snd_seq_ev_set_direct(ev); auto result = snd_seq_event_output(seq->seq, ev); if (result < 0) { - ERROR("Error: {}", snd_strerror(result)); + ERROR("Error sending from={} to={}: {}", this->port, port, + snd_strerror(result)); snd_seq_drop_input(seq->seq); snd_seq_drop_output(seq->seq); } result = snd_seq_drain_output(seq->seq); if (result < 0) { - ERROR("Error: {}", snd_strerror(result)); + ERROR("Error drain sending from={} to={}: {}", this->port, port, + snd_strerror(result)); snd_seq_drop_input(seq->seq); snd_seq_drop_output(seq->seq); }