mirror of
https://github.com/netcccyun/dnsmgr.git
synced 2026-02-21 15:31:12 +08:00
优化错误信息
This commit is contained in:
parent
496a7d2fd6
commit
07db49bdfb
@ -83,9 +83,6 @@ class CheckUtils
|
||||
} catch (GuzzleException $e) {
|
||||
$status = false;
|
||||
$errmsg = guzzle_error($e);
|
||||
if (strlen($errmsg) > 100) {
|
||||
$errmsg = substr($errmsg, 0, 97) . '...';
|
||||
}
|
||||
}
|
||||
|
||||
$usetime = round((microtime(true) - $start) * 1000);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user