XR for Universal Blue and Fedora Atomic Desktops
vr fedora-atomic linux
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

debug: improve logging

Signed-off-by: Shiloh Fen <shiloh@shilohfen.com>

+7 -1
+7 -1
src/atomic-xr/_debug.nu
··· 9 9 ] { 10 10 let output = $output | default (mktemp -t --suffix .msgpackz) | path expand 11 11 log info "This function produces a brotli-compressed msgpack debug file. It can be useful to provide more context for hard-to-debug issues" 12 - log info $"If you'd like to check what information it contains, use `nu -c 'open ($output) | from msgpackz | explore'`" 12 + 13 + if $base64 { 14 + log info $"If you'd like to check what information it contains, use `nu -c '{base64} | decode base64 | from msgpackz'`" 15 + } else { 16 + log info $"If you'd like to check what information it contains, use `nu -c 'open ($output) | from msgpackz'`" 17 + } 18 + 13 19 log info "" 14 20 log info "Creating debug file..." 15 21