Explorar el Código

Make logging more verbose (#11714)

Debugged an issue with a user who was on a read-only filesystem.

Signed-off-by: Eric Curtin <ecurtin@redhat.com>
Eric Curtin hace 11 meses
padre
commit
d2fe216fb2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      examples/run/run.cpp

+ 1 - 1
examples/run/run.cpp

@@ -346,7 +346,7 @@ class HttpClient {
         if (!output_file.empty()) {
         if (!output_file.empty()) {
             output_file_partial = output_file + ".partial";
             output_file_partial = output_file + ".partial";
             if (!out.open(output_file_partial, "ab")) {
             if (!out.open(output_file_partial, "ab")) {
-                printe("Failed to open file\n");
+                printe("Failed to open file for writing\n");
 
 
                 return 1;
                 return 1;
             }
             }