]> Kevux Git Server - fll/commitdiff
Cleanup: Consistently apply verbosity to error message with fallback.
authorKevin Day <kevin@kevux.org>
Fri, 24 Feb 2023 02:14:39 +0000 (20:14 -0600)
committerKevin Day <kevin@kevux.org>
Fri, 24 Feb 2023 02:14:39 +0000 (20:14 -0600)
The fallback error message is an automatically recovered error.
Only print the error message in verbose mode or greater.
This behavior is followed elsewhere and so this change makes the design more consistent.

level_3/fake/c/private-build-load.c

index 410a551a669229443610683e403fb932bab5dbe2..816796f31f8516e9c145e484536bc2321152342c 100644 (file)
@@ -1392,7 +1392,7 @@ extern "C" {
           setting->search_shared = F_false;
         }
 
-        if (data->main->error.verbosity != f_console_verbosity_quiet_e) {
+        if (data->main->error.verbosity >= f_console_verbosity_verbose_e) {
           flockfile(data->main->error.to.stream);
 
           fl_print_format("%r%[%QThe parameters '%]", data->main->error.to.stream, f_string_eol_s, data->main->error.context, data->main->error.prefix, data->main->error.context);