Change data dir error messages to use present tense

This commit is contained in:
jevonearth 2017-11-13 13:58:40 -08:00 committed by Grégoire
parent 44364295ee
commit f4937fd8ef

View File

@ -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)