Skip to content

Commit

Permalink
gengo callbacks: print error
Browse files Browse the repository at this point in the history
  • Loading branch information
gucio321 committed Nov 16, 2024
1 parent 17870aa commit 5c13dd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/codegen/gengo_callbacks.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func GenerateCallbacks(callbacks []CIdentifier, context *Context) (validTypes []
if err := result.writeCallback(typedefName, result.ctx.typedefs.data[typedefName]); err != nil {
if errors.Is(err, callbackNotGeneratedError) {
if context.flags.showNotGenerated {
glg.Warnf("Callback \"%s\" was not generated", typedefName)
glg.Warnf("Callback \"%s\" was not generated: %v", typedefName, err)
}

continue
Expand Down

0 comments on commit 5c13dd9

Please sign in to comment.