13
0

Improve error message

This commit is contained in:
Robin Gareus 2023-06-18 16:23:18 +02:00
parent bb12ac8ec8
commit 1b6ba4d71d
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -2601,7 +2601,7 @@ EngineControl::get_buffer_size () const
uint32_t samples; uint32_t samples;
if (sscanf (txt.c_str (), "%d", &samples) != 1) { if (sscanf (txt.c_str (), "%d", &samples) != 1) {
fprintf (stderr, "Find a trout and repeatedly slap the nearest C++ who throws exceptions without catching them.\n"); fprintf (stderr, "Find a trout and repeatedly slap the nearest C++ developer who throws exceptions without catching them.\n");
fprintf (stderr, "Ardour will likely crash now, giving you time to get the trout.\n"); fprintf (stderr, "Ardour will likely crash now, giving you time to get the trout.\n");
throw exception (); throw exception ();
} }