Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
minwoox committed Nov 7, 2024
1 parent 35b674a commit 7f29304
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,7 @@ public final CompletableFuture<Void> startAsync(File dataDir) {
final ArmeriaCentralDogmaBuilder clientBuilder = new ArmeriaCentralDogmaBuilder();
final LegacyCentralDogmaBuilder legacyClientBuilder = new LegacyCentralDogmaBuilder();

final String accessToken;
try {
accessToken = accessToken();
} catch (Exception e) {
throw new RuntimeException(e);
}
final String accessToken = accessToken();
if (accessToken != null) {
clientBuilder.accessToken(accessToken);
legacyClientBuilder.accessToken(accessToken);
Expand Down

0 comments on commit 7f29304

Please sign in to comment.