[fix](log) use logger to replace printStackTrace() (#17382)
Use Logger to replace printStackTrace to better locate problems.
This commit is contained in:
@ -175,7 +175,7 @@ public class Text implements Writable {
|
||||
return -1; // not found
|
||||
} catch (CharacterCodingException e) {
|
||||
// can't get here
|
||||
e.printStackTrace();
|
||||
LOG.warn("", e);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user