liunaijie opened a new issue, #6505:
URL: https://github.com/apache/seatunnel/issues/6505

   ### Search before asking
   
   - [X] I had searched in the 
[feature](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22)
 and found no similar feature requirement.
   
   
   ### Description
   
   Now the source initialize process by FactoryUtil alert message can't give 
the clear failed reason. 
   It only return `"Unable to create a source for identifier '%s'.", 
factoryIdentifier`. no detail reason, we need check the log to find the root 
cause.
   
   For example i use jdbc source, whatever the user doesn't have permission to 
access the db or jdbc class not found error or table doesn't exist, it always 
return same response.
   
   
   
https://github.com/apache/seatunnel/blob/dev/seatunnel-api/src/main/java/org/apache/seatunnel/api/table/factory/FactoryUtil.java#L70
   
   
https://github.com/apache/seatunnel/blob/dev/seatunnel-api/src/main/java/org/apache/seatunnel/api/table/factory/FactoryUtil.java#L116
   
   ### Usage Scenario
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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