about summary refs log tree commit diff
path: root/third_party/nix/src/libstore/builtins/fetchurl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/libstore/builtins/fetchurl.cc')
-rw-r--r--third_party/nix/src/libstore/builtins/fetchurl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/nix/src/libstore/builtins/fetchurl.cc b/third_party/nix/src/libstore/builtins/fetchurl.cc
index ae4e9a71c802..88acc413c9da 100644
--- a/third_party/nix/src/libstore/builtins/fetchurl.cc
+++ b/third_party/nix/src/libstore/builtins/fetchurl.cc
@@ -1,3 +1,4 @@
+#include <glog/logging.h>
 #include "archive.hh"
 #include "builtins.hh"
 #include "compression.hh"
@@ -66,7 +67,7 @@ void builtinFetchurl(const BasicDerivation& drv, const std::string& netrcData) {
               h.to_string(Base16, false));
         return;
       } catch (Error& e) {
-        debug(e.what());
+        LOG(ERROR) << e.what();
       }
 
   /* Otherwise try the specified URL. */