aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/output/plugins/RecorderOutputPlugin.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/output/plugins/RecorderOutputPlugin.cxx b/src/output/plugins/RecorderOutputPlugin.cxx
index f83a2edbd..ae6e440a6 100644
--- a/src/output/plugins/RecorderOutputPlugin.cxx
+++ b/src/output/plugins/RecorderOutputPlugin.cxx
@@ -249,7 +249,9 @@ RecorderOutput::Commit(Error &error)
inline void
RecorderOutput::Close()
{
- Commit(IgnoreError());
+ Error error;
+ if (!Commit(error))
+ LogError(error);
}
inline void