mirror of https://github.com/apache/cassandra
nodetool doesn't error when ~/.cassandra is inaccessible
Patch by Kirk True, reviewed by brandonwilliams for CASSANDRA-6449
This commit is contained in:
parent
590d40375e
commit
7c05b897cb
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue