mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-11-30 02:48:17 +08:00
fix log error
This commit is contained in:
parent
cda37ec8bb
commit
a2208edd79
@ -20,7 +20,6 @@
|
||||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
import cn.hutool.core.lang.PatternPool;
|
||||
import cn.hutool.core.lang.RegexPool;
|
||||
import cn.hutool.core.util.NumberUtil;
|
||||
|
@ -431,7 +431,7 @@ public abstract class BaseDbService<T extends BaseDbModel> extends BaseDbCommonS
|
||||
} catch (java.lang.IllegalStateException illegalStateException) {
|
||||
return 0L;
|
||||
} catch (Exception e) {
|
||||
DefaultSystemLog.getLog().error("查询数据错误 :{}", e.getMessage());
|
||||
DefaultSystemLog.getLog().error("查询数据错误", e);
|
||||
return 0L;
|
||||
}
|
||||
if (pageResult.isEmpty()) {
|
||||
|
@ -135,7 +135,7 @@ public class GitUtil {
|
||||
private static void setCredentials(TransportCommand<?, ?> transportCommand, Map<String, Object> parameter) {
|
||||
Integer protocol = (Integer) parameter.get("protocol");
|
||||
String username = (String) parameter.get("username");
|
||||
String password = (String) parameter.get("password");
|
||||
String password = StrUtil.emptyToDefault((String) parameter.get("password"), StrUtil.EMPTY);
|
||||
if (protocol == 0) {
|
||||
// http
|
||||
UsernamePasswordCredentialsProvider credentialsProvider = new UsernamePasswordCredentialsProvider(username, password);
|
||||
|
Loading…
Reference in New Issue
Block a user