From f4937fd8ef7910e3c7c87946c507adcf83732313 Mon Sep 17 00:00:00 2001 From: jevonearth Date: Mon, 13 Nov 2017 13:58:40 -0800 Subject: [PATCH] Change data dir error messages to use present tense --- src/node/main/node_data_version.ml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/node/main/node_data_version.ml b/src/node/main/node_data_version.ml index c54696ce8..65315e08d 100644 --- a/src/node/main/node_data_version.ml +++ b/src/node/main/node_data_version.ml @@ -53,13 +53,13 @@ let () = register_error_kind `Permanent ~id: "noDataDirVersionFile" - ~title: "Data directory version file did not exist" - ~description: "Data directory version file did not exist" + ~title: "Data directory version file does not exist" + ~description: "Data directory version file does not exist" Data_encoding.(obj1 (req "versionPath" string)) ~pp:(fun ppf path -> Format.fprintf ppf "Expected to find data directory version file at '%s', \ - \ but the file did not exist." + \ but the file does not exist." path) (function No_data_dir_version_file path -> Some path | _ -> None) (fun path -> No_data_dir_version_file path)