From 2da9a5331e9aa89d6deaf67d1cf9a4b39afae87f Mon Sep 17 00:00:00 2001 From: Alain Mebsout Date: Thu, 5 Jul 2018 16:19:55 +0200 Subject: [PATCH] Client: Say which file would not be read --- src/lib_client_base_unix/client_context_unix.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib_client_base_unix/client_context_unix.ml b/src/lib_client_base_unix/client_context_unix.ml index 0d9ef8f12..d6c633d94 100644 --- a/src/lib_client_base_unix/client_context_unix.ml +++ b/src/lib_client_base_unix/client_context_unix.ml @@ -66,7 +66,7 @@ class unix_wallet ~base_dir : wallet = object (self) "could not read the %s alias file" alias_name >>=? fun json -> match Data_encoding.Json.destruct encoding json with | exception _ -> (* TODO print_error *) - failwith "did not understand the %s alias file" alias_name + failwith "did not understand the %s alias file %s" alias_name filename | data -> return data