fix(agent-task view): improve session error
Signed-off-by: Babak K. Shandiz <babakks@github.com>
This commit is contained in:
parent
beba8f6387
commit
123c9eaba8
2 changed files with 3 additions and 2 deletions
|
|
@ -333,7 +333,9 @@ func printSession(opts *ViewOptions, session *capi.Session) {
|
|||
fmt.Fprintf(opts.IO.Out, "%s %s\n", cs.FailureIconWithColor(cs.Red), message)
|
||||
|
||||
if workflowRunURL != "" {
|
||||
fmt.Fprintf(opts.IO.Out, "See the detailed logs in GitHub Actions:\n%s\n", workflowRunURL)
|
||||
// We don't need to prefix the link with any text (e.g. "checkout the logs here")
|
||||
// because the error message already contains all the information.
|
||||
fmt.Fprintf(opts.IO.Out, "%s\n", workflowRunURL)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -513,7 +513,6 @@ func Test_viewRun(t *testing.T) {
|
|||
Used 1.5 premium request(s)
|
||||
|
||||
X blah blah
|
||||
See the detailed logs in GitHub Actions:
|
||||
https://github.com/OWNER/REPO/actions/runs/9999
|
||||
|
||||
For detailed session logs, try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue