Exec stderr will show with debug log

This commit is contained in:
Alexey Khit
2022-11-13 19:15:12 +03:00
parent b617796941
commit 9f8a219483
+2
View File
@@ -56,6 +56,8 @@ func Handle(url string) (streamer.Producer, error) {
if log.Trace().Enabled() {
cmd.Stdout = os.Stdout
}
if log.Debug().Enabled() {
cmd.Stderr = os.Stderr
}