Skip to content

Commit

Permalink
Add more details for incomplete file messages
Browse files Browse the repository at this point in the history
pr-link: #11997
change-id: cid-b225a7909a16139d847f7774bc1dde593abd6f11
  • Loading branch information
gpang committed Aug 18, 2020
1 parent 5487eae commit 3daff67
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ public enum ExceptionMessage {
FAILED_RAFT_CONNECT("Failed to connect to raft cluster with addresses {0}: {1}"),

// file
CANNOT_READ_INCOMPLETE_FILE("Cannot read from {0} because it is incomplete"),
CANNOT_READ_INCOMPLETE_FILE(
"Cannot read from {0} because it is incomplete. Wait for the file to be marked as complete "
+ "by the writing thread or application."),
CANNOT_READ_DIRECTORY("Cannot read from {0} because it is a directory"),
DELETE_FAILED_DIR_CHILDREN(
"Cannot delete directory {0}. Failed to delete children: {1}"),
Expand Down

0 comments on commit 3daff67

Please sign in to comment.