Skip to content

Commit b21ff3e

Browse files
authored
Update SyncStreamQueueSource.java
Signed-off-by: Todd Baert <[email protected]>
1 parent 5ebbe79 commit b21ff3e

File tree

1 file changed

+2
-1
lines changed
  • providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/resolver/process/storage/connector/sync

1 file changed

+2
-1
lines changed

providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/resolver/process/storage/connector/sync/SyncStreamQueueSource.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ private void observeSyncStream() throws InterruptedException {
141141

142142
metadataResponse = localStub.getMetadata(metadataRequest.build());
143143
} catch (Exception metaEx) {
144-
// cancel the stream if the getMetadata fails, but we can keep this log quiet since the stream is cancelled/restarted with this exception
144+
// cancel the stream if the getMetadata fails
145+
// we can keep this log quiet since the stream is cancelled/restarted with this exception
145146
log.debug("Metadata exception: {}, cancelling stream", metaEx.getMessage(), metaEx);
146147
context.cancel(metaEx);
147148
}

0 commit comments

Comments
 (0)