Skip to content

Commit

Permalink
log serialiser exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ylannl committed Nov 5, 2024
1 parent 3b3ab77 commit 06b66c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/roofer-app/roofer-app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1011,9 +1011,9 @@ int main(int argc, const char* argv[]) {
ofs.close();
}
++serialized_buildings_cnt;
} catch (...) {
logger.error("[serializer] Failed to serialize {}",
building.jsonl_path.string());
} catch (const std::exception& e) {
logger.error("[serializer] Failed to serialize {}. {}",
building.jsonl_path.string(), e.what());
}
}
if (!roofer_cfg.split_cjseq) {
Expand Down

0 comments on commit 06b66c1

Please sign in to comment.