[Improvement] Test DataSource connection return msg may not internationalization (#13767)
Co-authored-by: xuhaihui <xuhaihui@cmss.chinamobile.com>
This commit is contained in:
parent
1ac76e1cbb
commit
1075be6e62
|
|
@ -400,7 +400,7 @@ public class DataSourceServiceImpl extends BaseServiceImpl implements DataSource
|
|||
.orElse(e.getMessage());
|
||||
log.error("Datasource test connection error, dbType:{}, connectionParam:{}, message:{}.", type,
|
||||
connectionParam, message);
|
||||
return new Result<>(Status.CONNECTION_TEST_FAILURE.getCode(), message);
|
||||
return new Result<>(Status.CONNECTION_TEST_FAILURE);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue