fix encrypt provider start
This commit is contained in:
parent
f68de677c6
commit
77d985a483
@ -1063,7 +1063,7 @@ auto encrypt_provider::start(api_item_added_callback /*api_item_added*/,
|
|||||||
#else //! defined(_WIN32)
|
#else //! defined(_WIN32)
|
||||||
if (cur_path != cfg_path) {
|
if (cur_path != cfg_path) {
|
||||||
#endif // defined(_WIN32)
|
#endif // defined(_WIN32)
|
||||||
throw startup_exception(fmt::print(
|
throw startup_exception(fmt::format(
|
||||||
"source path has changed|cur|{}|cfg|{}", cur_path, cfg.path));
|
"source path has changed|cur|{}|cfg|{}", cur_path, cfg.path));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -1074,7 +1074,7 @@ auto encrypt_provider::start(api_item_added_callback /*api_item_added*/,
|
|||||||
.column_value("source_path", cfg_path)
|
.column_value("source_path", cfg_path)
|
||||||
.go();
|
.go();
|
||||||
if (not ins_res.ok()) {
|
if (not ins_res.ok()) {
|
||||||
throw startup_exception(fmt::print("failed to create root|{}|{}",
|
throw startup_exception(fmt::format("failed to create root|{}|{}",
|
||||||
ins_res.get_error(),
|
ins_res.get_error(),
|
||||||
ins_res.get_error_str()));
|
ins_res.get_error_str()));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user