错误日志
This commit is contained in:
parent
b1f1da3686
commit
5f749e4646
|
|
@ -56,6 +56,7 @@ public class ResponseResult<T, R> {
|
|||
}
|
||||
return Ok(f.apply(t));
|
||||
} catch (SalaryRunTimeException e) {
|
||||
log.error("salary api run fail", e);
|
||||
return Error(e.getMessage());
|
||||
} catch (ECException e) {
|
||||
log.error("salary api run fail", e);
|
||||
|
|
@ -78,6 +79,7 @@ public class ResponseResult<T, R> {
|
|||
f.accept(t);
|
||||
return Ok();
|
||||
} catch (SalaryRunTimeException e) {
|
||||
log.error("salary api run fail", e);
|
||||
return Error(e.getMessage());
|
||||
} catch (ECException e) {
|
||||
log.error("salary api run fail", e);
|
||||
|
|
@ -99,6 +101,7 @@ public class ResponseResult<T, R> {
|
|||
}
|
||||
return Ok(f.get());
|
||||
} catch (SalaryRunTimeException e) {
|
||||
log.error("salary api run fail", e);
|
||||
return Error(e.getMessage());
|
||||
} catch (ECException e) {
|
||||
log.error("salary api run fail", e);
|
||||
|
|
|
|||
Loading…
Reference in New Issue