Add debug.

GitOrigin-RevId: d1a4df496847f44fa412dd0e0ac071b460bdf5d2
This commit is contained in:
levlam 2018-10-28 18:21:27 +03:00
parent 26530c3b97
commit 34f5f96afd

View File

@ -2738,7 +2738,10 @@ void WebPagesManager::on_load_web_page_from_database(WebPageId web_page_id, stri
if (web_page == nullptr) {
if (!value.empty()) {
auto result = make_unique<WebPage>();
log_event_parse(*result, value).ensure();
auto status = log_event_parse(*result, value);
if (status.is_error()) {
LOG(FATAL) << status << ": " << format::as_hex_dump<4>(Slice(value));
}
update_web_page(std::move(result), web_page_id, true, true);
}
} else {