diff --git a/src/common.cpp b/src/common.cpp index 3fd2da590..3ede77e2c 100644 --- a/src/common.cpp +++ b/src/common.cpp @@ -184,7 +184,7 @@ bool is_windows_subsystem_for_linux() { // is bypassed. We intentionally do not include this in the error message because // it'll only allow fish to run but not to actually work. Here be dragons! if (getenv("FISH_NO_WSL_CHECK") == nullptr) { - debug(0, + FLOGF(error, "This version of WSL has known bugs that prevent fish from working." "Please upgrade to Windows 10 1809 (17763) or higher to use fish!"); } diff --git a/src/reader.cpp b/src/reader.cpp index 62c7d4938..3cf7a7654 100644 --- a/src/reader.cpp +++ b/src/reader.cpp @@ -3514,7 +3514,7 @@ static int read_ni(parser_t &parser, int fd, const io_chain_t &io) { clearerr(in_stream); } else { // Fatal error. - debug(0, _(L"Unable to read input file: %s"), strerror(errno)); + FLOGF(error, _(L"Unable to read input file: %s"), strerror(errno)); // Reset buffer on error. We won't evaluate incomplete files. acc.clear(); break;