UI: Log success/failure for scene collection importer
parent
714c652dc9
commit
6b6a72cd21
|
@ -600,8 +600,15 @@ void OBSImporter::importCollections()
|
|||
|
||||
std::string out_str = json11::Json(out).dump();
|
||||
|
||||
os_quick_write_utf8_file(save.c_str(), out_str.c_str(),
|
||||
out_str.size(), false);
|
||||
bool success = os_quick_write_utf8_file(save.c_str(),
|
||||
out_str.c_str(),
|
||||
out_str.size(),
|
||||
false);
|
||||
|
||||
blog(LOG_INFO, "Import Scene Collection: %s (%s) - %s",
|
||||
name.toStdString().c_str(),
|
||||
file.toStdString().c_str(),
|
||||
success ? "SUCCESS" : "FAILURE");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue