Improve error message
This commit is contained in:
parent
bb12ac8ec8
commit
1b6ba4d71d
@ -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 ();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user