Skip to content

Commit

Permalink
[refactor][APP]
Browse files Browse the repository at this point in the history
      Modify exception logs
  • Loading branch information
dbac committed Oct 26, 2023
1 parent 7c00d3a commit dae5f00
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import org.apache.seatunnel.app.thirdparty.metrics.IEngineMetricsExtractor;
import org.apache.seatunnel.common.config.Common;
import org.apache.seatunnel.common.config.DeployMode;
import org.apache.seatunnel.common.utils.ExceptionUtils;
import org.apache.seatunnel.engine.client.SeaTunnelClient;
import org.apache.seatunnel.engine.client.job.ClientJobProxy;
import org.apache.seatunnel.engine.client.job.JobExecutionEnvironment;
Expand Down Expand Up @@ -121,7 +122,7 @@ public Long executeJobBySeaTunnel(Integer userId, String filePath, Long jobInsta
});

} catch (ExecutionException | InterruptedException e) {
log.error("executeJobBySeaTunnel error:{}", e.getMessage());
ExceptionUtils.getMessage(e);
throw new RuntimeException(e);
}
return jobInstanceId;
Expand Down

0 comments on commit dae5f00

Please sign in to comment.