Radeity commented on code in PR #13683:
URL: 
https://github.com/apache/dolphinscheduler/pull/13683#discussion_r1128908637


##########
dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java:
##########
@@ -1810,6 +1808,10 @@ private ResourceInfo updateResourceInfo(ResourceInfo 
res) {
             resourceInfo = new ResourceInfo();
             // get resource from database, only one resource should be returned
             Resource resource = getResourceById(resourceId);
+            if (Objects.isNull(resource)) {
+                logger.error("not found resource by resourceId:{} from 
t_ds_resources.", resourceId);

Review Comment:
   ```suggestion
                   logger.error("resource not found, resourceId: {}", 
resourceId);
   ```



-- 
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