13
0

triggerbox: enhance utility of a fatal message

This commit is contained in:
Paul Davis 2022-03-14 12:18:49 -06:00
parent 00d8b08300
commit a4fd4cdaf0

View File

@ -955,7 +955,7 @@ Trigger::compute_next_transition (samplepos_t start_sample, Temporal::Beats cons
break;
default:
fatal << string_compose (_("programming error: %1"), "impossible trigger state in ::adjust_nframes()") << endmsg;
fatal << string_compose (_("programming error: %1 %2 %3"), "impossible trigger state (", enum_2_string (_state), ") in ::adjust_nframes()") << endmsg;
abort();
}