Consistent Lua script error and print() output 2/2

This commit is contained in:
Robin Gareus 2020-04-18 18:13:32 +02:00
parent a2f07f66a5
commit 606d6de4b1
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
5 changed files with 61 additions and 3 deletions

View file

@ -1740,6 +1740,7 @@ ProcessorEntry::LuaPluginDisplay::render_inline (cairo_t *cr, uint32_t width)
#ifndef NDEBUG
cerr << "LuaException:" << e.what () << endl;
#endif
PBD::warning << "LuaException: " << e.what () << endmsg;
} catch (...) { }
return 0;
}