diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-05-28 11:03:53 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-06-11 12:11:39 +0200 |
commit | ec49b7cda4154f05c1c561a124966414ef3e5e11 (patch) | |
tree | 51366544233c92fa5a8fbde63a921b20e387d3a7 /src/buildtool/file_system/git_repo.hpp | |
parent | 7ad13d5f3048a2ad02a53a37676df05c05bf25fc (diff) | |
download | justbuild-ec49b7cda4154f05c1c561a124966414ef3e5e11.tar.gz |
GitRepo: Methods expected to use a logger should do so...
...in all return paths, including in reporting caught exceptions.
In this way give the opportunity for any calling AsyncMap to
receive an expected fatal logger call on failure and thus be able
to shut down gracefully. This is in line with the AsyncMap design,
where the loggers are assumed to be safe to call by a consumer.
(cherry-picked from ae33d0f287e83769dbef9287e64006e1c0c463e9)
Diffstat (limited to 'src/buildtool/file_system/git_repo.hpp')
0 files changed, 0 insertions, 0 deletions