diff --git a/libs/ardour/audio_library.cc b/libs/ardour/audio_library.cc index c9ada69fa0..71d143fc6a 100644 --- a/libs/ardour/audio_library.cc +++ b/libs/ardour/audio_library.cc @@ -61,7 +61,12 @@ AudioLibrary::AudioLibrary () sfdb_file_path = Glib::build_filename (sfdb_file_path, sfdb_file_name); - src = Glib::filename_to_uri (sfdb_file_path); + try { + src = Glib::filename_to_uri (sfdb_file_path); + } catch (Glib::ConvertError const& err) { + fatal << string_compose (_("Could not get config folder: %1"), err.what ()) << endmsg; + abort (); /*NOTREACHED*/ + } // workaround for possible bug in raptor that crashes when saving to a // non-existant file.