We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
generic_ssh_exec
1 parent 156b9fd commit 84b5ec0Copy full SHA for 84b5ec0
src/lib/ketrew_host_io.ml
@@ -72,7 +72,8 @@ module Ssh = struct
72
| "" :: actual_stderr :: return_value :: [] ->
73
begin match Int.of_string (String.strip return_value) with
74
| Some r -> return (out, actual_stderr, r)
75
- | None -> fail_parsing "Return value not an integer"
+ | None ->
76
+ fail_parsing (fmt "Return value not an integer: %S" return_value)
77
end
78
| somehting_else -> fail_parsing "Cannot parse error log"
79
in
0 commit comments