mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
switch from printError warnings to logWarnings
This commit is contained in:
parent
55eb717148
commit
958e81987b
6 changed files with 31 additions and 10 deletions
|
@ -52,7 +52,10 @@ size_t threshold = 256 * 1024 * 1024;
|
|||
|
||||
static void warnLargeDump()
|
||||
{
|
||||
printError("warning: dumping very large path (> 256 MiB); this may run out of memory");
|
||||
logWarning(ErrorInfo {
|
||||
.name = "Large path",
|
||||
.description = "dumping very large path (> 256 MiB); this may run out of memory"
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue