Skip to content

Commit 689cb7a

Browse files
author
Sven Liebert
committed
Add logging for failing issues
1 parent c35cbd5 commit 689cb7a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

service/cmd/server/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ func run() {
290290

291291
if resp.StatusCode != 201 {
292292
println("Error while adding comment")
293+
println(jsonString)
293294
printErrorFromApi(resp)
294295
} else {
295296
setMailAsSeenForService(c, currentUid)
@@ -313,6 +314,7 @@ func run() {
313314

314315
if resp.StatusCode != 201 {
315316
println("Error while adding issue")
317+
println(jsonString)
316318
printErrorFromApi(resp)
317319
} else {
318320
issueNumber = getAddIssueResponse(resp).Key

0 commit comments

Comments
 (0)