Skip to content

Commit

Permalink
do not log invalid message data
Browse files Browse the repository at this point in the history
  • Loading branch information
jbfbell committed Mar 20, 2024
1 parent bb478d5 commit f85281c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ static void consumeMessage(final AirbyteMessageConsumer consumer, final String i
if (isStateMessage(inputString)) {
throw new IllegalStateException("Invalid state message: " + inputString);
} else {
log.error("Received invalid message: " + inputString);
log.error("Received invalid message, not logging as this may contain sensitive data");
}
}
}
Expand Down

0 comments on commit f85281c

Please sign in to comment.