Skip to content

Commit

Permalink
Add more data to log description
Browse files Browse the repository at this point in the history
  • Loading branch information
turcottedanny committed Jan 27, 2021
1 parent 4076f09 commit 03e016f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/display/logs.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package display

import (
"fmt"
"strings"

"github.com/auth0/auth0-cli/internal/ansi"
Expand Down Expand Up @@ -71,6 +72,8 @@ func typeDescFor(l *management.Log, noColor bool) (typ, desc string) {
desc = strings.TrimSuffix(chunks[1], ")")
}

desc = fmt.Sprintf("%s %s", desc, l.Description)

if !noColor {
// colorize the event type field based on whether it's a success or failure
if strings.HasPrefix(l.GetType(), "s") {
Expand Down

0 comments on commit 03e016f

Please sign in to comment.