output/recorder: log commit errors
This commit is contained in:
parent
fe0c4ff3c2
commit
58c4db925b
|
@ -249,7 +249,9 @@ RecorderOutput::Commit(Error &error)
|
||||||
inline void
|
inline void
|
||||||
RecorderOutput::Close()
|
RecorderOutput::Close()
|
||||||
{
|
{
|
||||||
Commit(IgnoreError());
|
Error error;
|
||||||
|
if (!Commit(error))
|
||||||
|
LogError(error);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void
|
inline void
|
||||||
|
|
Loading…
Reference in New Issue