summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-02-04 00:16:25 +0100
committerAndreas Kling <kling@serenityos.org>2022-02-04 00:16:25 +0100
commit378bca8b0c395125d94f971feadb633e0ffd4932 (patch)
treecbf7bc77a536de32c4d821a9da640cf14c437f9e /Userland
parentd7b27a990141c3d1ad2eda151f5f8695d93b28f8 (diff)
downloadserenity-378bca8b0c395125d94f971feadb633e0ffd4932.zip
LibWeb: Make debug logging of resource load errors red instead of green
Red is a bit more suspicious than green, after all. :^)
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibWeb/Loader/ResourceLoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Loader/ResourceLoader.cpp b/Userland/Libraries/LibWeb/Loader/ResourceLoader.cpp
index 818a992bb8..09e2e4bed7 100644
--- a/Userland/Libraries/LibWeb/Loader/ResourceLoader.cpp
+++ b/Userland/Libraries/LibWeb/Loader/ResourceLoader.cpp
@@ -129,7 +129,7 @@ void ResourceLoader::load(LoadRequest& request, Function<void(ReadonlyBytes, con
const auto log_failure = [](const auto& request, const auto error_message) {
auto& url = request.url();
auto load_time_ms = request.load_time().to_milliseconds();
- dbgln("ResourceLoader: Failed load of: \"{}\", \033[32;1mError: {}\033[0m, Duration: {}ms", sanitized_url_for_logging(url), error_message, load_time_ms);
+ dbgln("ResourceLoader: Failed load of: \"{}\", \033[31;1mError: {}\033[0m, Duration: {}ms", sanitized_url_for_logging(url), error_message, load_time_ms);
};
if (is_port_blocked(url.port_or_default())) {