|
@@ -84,6 +84,7 @@ class InotifyMonitor {
|
|
|
DahuaUtil::rlog('已经调用了清理脚本');
|
|
|
}catch (Exception $e){
|
|
|
DahuaUtil::rlog("redis连接异常".$e->getMessage());
|
|
|
+ throw new Exception($e->getMessage());
|
|
|
}
|
|
|
|
|
|
|
|
@@ -183,7 +184,7 @@ class InotifyMonitor {
|
|
|
}catch(Exception $e)
|
|
|
{
|
|
|
DahuaUtil::rlog("redis数据库连接".$e->getMessage());
|
|
|
- return;
|
|
|
+ throw new Exception($e->getMessage());
|
|
|
}
|
|
|
|
|
|
|