Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WP Plugins
Cron-Control
Commits
7004a5bd
Commit
7004a5bd
authored
Jul 25, 2017
by
Erick Hitter
Browse files
Include event args when debugging failures
parent
25de2120
Changes
1
Hide whitespace changes
Inline
Side-by-side
runner/runner.go
View file @
7004a5bd
...
...
@@ -315,7 +315,11 @@ func runWpCliCmd(subcommand []string) (string, error) {
wpOutStr
:=
string
(
wpOut
)
if
err
!=
nil
{
logger
.
Printf
(
"%s - %s"
,
err
,
wpOutStr
)
if
debug
{
logger
.
Printf
(
"%s - %s"
,
err
,
wpOutStr
)
logger
.
Println
(
fmt
.
Sprintf
(
"%+v
\n
"
,
subcommand
))
}
return
wpOutStr
,
err
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment