Merge pull request #880 from nosqlbench/nosqlbench-797-callable

nosqlbench-797-callable
This commit is contained in:
Jonathan Shook
2022-12-22 18:02:45 -06:00
committed by GitHub
9 changed files with 26 additions and 92 deletions

View File

@@ -224,7 +224,7 @@ public class SimpleActivity implements Activity, ProgressCapable, ActivityDefObs
try {
closeable.close();
} catch (Exception e) {
throw new RuntimeException("Error closing " + closeable);
throw new RuntimeException("Error closing " + closeable + ": " + e, e);
}
}
closeables.clear();