Client: Say which file would not be read

This commit is contained in:
Alain Mebsout 2018-07-05 16:19:55 +02:00 committed by Benjamin Canou
parent a36f42506a
commit 2da9a5331e

View File

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