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:16:26 -05:00
parent 5d25a16efb
commit c1b5c270df
1 changed files with 1 additions and 1 deletions

View File

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