Dennis-Mircea commented on code in PR #1233:
URL: 
https://github.com/apache/flink-kubernetes-operator/pull/1233#discussion_r4400174621


##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/utils/FlinkResourceExceptionUtils.java:
##########
@@ -122,7 +122,10 @@ private static FlinkResourceException 
convertToFlinkResourceException(
             Map<String, String> labelMapper) {
         FlinkResourceException flinkResourceException = 
FlinkResourceException.builder().build();
 
-        getSubstringWithMaxLength(throwable.getClass().getName(), 
lengthThreshold)
+        getSubstringWithMaxLength(
+                        
org.apache.flink.kubernetes.operator.utils.ExceptionUtils

Review Comment:
   Let’s import ExceptionUtils here instead of using the fully qualified class 
name. AI tools tend to generate it this way all the time...



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to