Skip to content

Instantly share code, notes, and snippets.

@bhamiltoncx
Created December 18, 2015 17:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhamiltoncx/f9554f84aa99fe3ca77a to your computer and use it in GitHub Desktop.
Save bhamiltoncx/f9554f84aa99fe3ca77a to your computer and use it in GitHub Desktop.
diff --git a/src/com/facebook/buck/io/AsynchronousDirectoryContentsCleaner.java b/src/com/facebook/buck/io/AsynchronousDirectoryContentsCleaner.java
index 0c540f4..567ab27 100644
--- a/src/com/facebook/buck/io/AsynchronousDirectoryContentsCleaner.java
+++ b/src/com/facebook/buck/io/AsynchronousDirectoryContentsCleaner.java
@@ -82,6 +82,7 @@ public class AsynchronousDirectoryContentsCleaner {
* instance of directory cleaning will occur at a time.
*/
public void startCleaningDirectory() {
+ LOG.warn("hello %s", "ben");
executor.execute(
new Runnable() {
@Override
@@ -98,6 +99,7 @@ public class AsynchronousDirectoryContentsCleaner {
} finally {
LOG.debug("Done cleaning %s", pathToClean);
}
+ throw new RuntimeException("oops");
}
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment