Skip to content

Commit 0c5d7ff

Browse files
committed
Format code
1 parent ea206a7 commit 0c5d7ff

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sentry-android-ndk/src/main/java/io/sentry/android/ndk/NdkScopeObserver.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public void removeExtra(final @NotNull String key) {
133133
public void setTrace(@Nullable SpanContext spanContext, @NotNull IScope scope) {
134134
options.getLogger().log(SentryLevel.INFO, "Attempting to set the trace ID");
135135

136-
if(spanContext == null) {
136+
if (spanContext == null) {
137137
return;
138138
}
139139

@@ -145,7 +145,9 @@ public void setTrace(@Nullable SpanContext spanContext, @NotNull IScope scope) {
145145
try {
146146
options.getExecutorService().submit(() -> nativeScope.setTraceId(traceIdString));
147147
} catch (Throwable e) {
148-
options.getLogger().log(SentryLevel.ERROR, e, "Scope sync setTraceId(%s) has an error.", traceIdString);
148+
options
149+
.getLogger()
150+
.log(SentryLevel.ERROR, e, "Scope sync setTraceId(%s) has an error.", traceIdString);
149151
}
150152
}
151153
}

0 commit comments

Comments
 (0)