nodetool doesn't error when ~/.cassandra is inaccessible

Patch by Kirk True, reviewed by brandonwilliams for CASSANDRA-6449
This commit is contained in:
Brandon Williams 2014-06-18 14:18:13 -05:00
parent 590d40375e
commit 7c05b897cb
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ public class NodeTool
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss,SSS");
writer.append(sdf.format(new Date())).append(": ").append(cmdLine).append(System.lineSeparator());
}
catch (IOException ioe)
catch (IOException | IOError ioe)
{
//quietly ignore any errors about not being able to write out history
}