|
@@ -73,14 +73,18 @@ class Handle
|
|
$stream = $method->getInfo($info['key']);
|
|
$stream = $method->getInfo($info['key']);
|
|
|
|
|
|
$live = array();
|
|
$live = array();
|
|
- $hitory = array();
|
|
|
|
-
|
|
|
|
|
|
+ $history = array();
|
|
|
|
+
|
|
try {
|
|
try {
|
|
$live = $method->getLiveStatus($info['key']);
|
|
$live = $method->getLiveStatus($info['key']);
|
|
- $hitory = $method->history($info['key']);
|
|
|
|
} catch (\Exception $e) {
|
|
} catch (\Exception $e) {
|
|
$live = array();
|
|
$live = array();
|
|
- $hitory = array();
|
|
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ try {
|
|
|
|
+ $history = $method->history($info['key']);
|
|
|
|
+ } catch (\Exception $e) {
|
|
|
|
+ $history = array();
|
|
}
|
|
}
|
|
|
|
|
|
$data['where_id'] = $info['id'];
|
|
$data['where_id'] = $info['id'];
|