Skip to content

"Dumping very large path" message isn't helpful #1184

@copumpkin

Description

@copumpkin

It would be helpful to know which path is being dumped and ideally what led to the dumpage. Given where the warning is emitted right now in the code, it's not obvious to me how to add that detail to the message, but it's pretty unfriendly right now. I guess we could add a constructor parameter to an FdSink that tells it some human-meaningful representation of the thing being written to it?

cc @edolstra @shlevy

Metadata

Metadata

Assignees

Labels

UXThe way in which users interact with Nix. Higher level than UI.error-messagesConfusing messages and better diagnosticsperformance

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions