talend tFTPGet错误找不到错误字符串是什么

时间:2015-06-25 20:15:49

标签: talend

我正在使用tFTPGet开发一个talend作业来获取文件。 当我尝试运行该作业以测试代码时,会报告错误。我如何确定解决此问题的确切错误?

1 个答案:

答案 0 :(得分:0)

You need to use the error message of the TFTPGet component in a user code component:

khaled khlifi

The code of TJava will be executed only if the TFTPGet failed, you can use this line of code:

System.out.println(((String)globalMap.get("tFTPGet_1_ERROR_MESSAGE")));

Then you will see the error message in your console.