*: let libfmt quote strings
This commit is contained in:
@@ -55,16 +55,16 @@ input_stream_global_init(const ConfigData &config, EventLoop &event_loop)
|
||||
input_plugins_enabled[i] = true;
|
||||
} catch (const PluginUnconfigured &e) {
|
||||
FmtDebug(input_domain,
|
||||
"Input plugin '{}' is not configured: {}",
|
||||
"Input plugin {:?} is not configured: {}",
|
||||
plugin->name, e.what());
|
||||
continue;
|
||||
} catch (const PluginUnavailable &e) {
|
||||
FmtDebug(input_domain,
|
||||
"Input plugin '{}' is unavailable: {}",
|
||||
"Input plugin {:?} is unavailable: {}",
|
||||
plugin->name, e.what());
|
||||
continue;
|
||||
} catch (...) {
|
||||
std::throw_with_nested(FmtRuntimeError("Failed to initialize input plugin '{}'",
|
||||
std::throw_with_nested(FmtRuntimeError("Failed to initialize input plugin {:?}",
|
||||
plugin->name));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -256,13 +256,13 @@ AlsaInputStream::Recover(int err)
|
||||
switch(err) {
|
||||
case -EPIPE:
|
||||
FmtDebug(alsa_input_domain,
|
||||
"Overrun on ALSA capture device \"{}\"",
|
||||
"Overrun on ALSA capture device {:?}",
|
||||
device);
|
||||
break;
|
||||
|
||||
case -ESTRPIPE:
|
||||
FmtDebug(alsa_input_domain,
|
||||
"ALSA capture device \"{}\" was suspended",
|
||||
"ALSA capture device {:?} was suspended",
|
||||
device);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ OpenArchiveInputStream(Path path, Mutex &mutex)
|
||||
}
|
||||
} catch (...) {
|
||||
FmtDebug(input_domain,
|
||||
"not an archive, lookup '{}' failed: {}",
|
||||
"not an archive, lookup {:?} failed: {}",
|
||||
path, std::current_exception());
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user