mrproliu commented on issue #12882: URL: https://github.com/apache/skywalking/issues/12882#issuecomment-2556112341
There is [an `Error` method in the span](https://github.com/apache/skywalking-go/blob/main/plugins/core/tracing/span.go#L138-L139). You can use this directly. But if the parameters are empty, it may cause an error (the `Error` method will invoke `Log` to add the log from the parameter). You could add a check in the `Log` method. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
