Commit b4e0644e authored by alex yao's avatar alex yao

fix

parent acc5f855
...@@ -203,7 +203,9 @@ public class AirportConsumerServiceImpl implements AirportConsumerService { ...@@ -203,7 +203,9 @@ public class AirportConsumerServiceImpl implements AirportConsumerService {
bizAiDataAuditTaskEntity.setStatus("end"); bizAiDataAuditTaskEntity.setStatus("end");
bizAiDataAuditTaskService.update(bizAiDataAuditTaskEntity); bizAiDataAuditTaskService.update(bizAiDataAuditTaskEntity);
} catch (Exception e) { } catch (Exception e) {
throw new BusinessException(e.getMessage()); redisService.set("ERROR_MSG_AI_DATA_AUDIT_TASK:" + message.getTaskId(), e.getMessage(), 60 * 60 * 24 * 7);
bizAiDataAuditTaskEntity.setStatus("fail");
bizAiDataAuditTaskService.update(bizAiDataAuditTaskEntity);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment