feat: log Odoo ticket number and ID for better debugging
This commit is contained in:
parent
c9d46dbf21
commit
e1d0d43b5c
3
main.go
3
main.go
@ -25,6 +25,8 @@ func main() {
|
||||
|
||||
// Retrieve environment variables
|
||||
issueOdooTicketString := os.Getenv("ODOO_TICKET_NUMBER")
|
||||
logger.Printf("ODOO_TICKET_NUMBER: %s\n", issueOdooTicketString)
|
||||
|
||||
issueTitle := os.Getenv("ISSUE_TITLE")
|
||||
labelsStr := os.Getenv("ISSUE_LABELS")
|
||||
issueNumberString := os.Getenv("ISSUE_NUMBER")
|
||||
@ -52,6 +54,7 @@ func main() {
|
||||
logger.Printf("Error while converting the Odoo ticket number: %v\n", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
logger.Printf("Odoo ticket ID: %d\n", issueOdooTicketID)
|
||||
|
||||
// Map labels to Git Flow prefixes
|
||||
prefix := "feature"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user