mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 04:19:41 -08:00
chore(debug): log http response
This commit is contained in:
parent
0f489ec88e
commit
255c9baebf
|
@ -612,6 +612,7 @@ func (env *ShellEnvironment) HTTPRequest(targetURL string, timeout int, requestM
|
|||
env.log(Error, "HTTPRequest", err.Error())
|
||||
return nil, err
|
||||
}
|
||||
env.log(Debug, "HTTPRequest", string(body))
|
||||
return body, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue