output/recorder: log commit errors

This commit is contained in:
Max Kellermann 2015-01-07 19:13:55 +01:00
parent fe0c4ff3c2
commit 58c4db925b
1 changed files with 3 additions and 1 deletions

View File

@ -249,7 +249,9 @@ RecorderOutput::Commit(Error &error)
inline void
RecorderOutput::Close()
{
Commit(IgnoreError());
Error error;
if (!Commit(error))
LogError(error);
}
inline void