Skip to content

Commit d5cfbdf

Browse files
authored
[editorial] Cleanup in error-handling.md (#4725)
- Updates heading level for Java example so that it is at the same level as Go, as opposed to this (which it is currently): <img width="230" height="118" alt="image" src="https://github.com/user-attachments/assets/1c5e8764-14d5-43cf-b2c3-31b5085e098f" /> - Trims code-block trailing space - Related issue: open-telemetry/opentelemetry.io#8271 /cc @vitorvasc
1 parent 13e1fb1 commit d5cfbdf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

specification/error-handling.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,9 @@ func main() {
9393
// Other setup ...
9494
opentelemetrysdk.SetHandler(IgnoreExporterErrorsHandler{})
9595
}
96-
9796
```
9897

99-
##### Java
98+
#### Java
10099

101100
OpenTelemetry Java uses [java.util.logging](https://docs.oracle.com/javase/7/docs/api/java/util/logging/package-summary.html)
102101
to output and handle all logs, including errors. Custom handlers and filters can be registered both in code and using the Java logging configuration file.

0 commit comments

Comments
 (0)