PR fixes from comments

This commit is contained in:
Jonathan Shook
2022-12-21 16:47:37 -06:00
parent 301f1e2d27
commit 10080720a5
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();