|
|
@@ -118,7 +118,11 @@ class UserNetwork extends \common\components\ActiveRecord
|
|
|
];
|
|
|
} catch (Exception $e) {
|
|
|
$file_name = date('Y-m-d', time()).'_usernetwork.php_error.log';
|
|
|
- file_put_contents($file_name, '____'.$parentUid.'____', FILE_APPEND);
|
|
|
+ file_put_contents($file_name, var_export([
|
|
|
+ '$parentUid' => $parentUid,
|
|
|
+ '$userId' => $userId,
|
|
|
+ 'error' => $e->getMessage()
|
|
|
+ ],true), FILE_APPEND);
|
|
|
}
|
|
|
|
|
|
unset($parentUid, $parentNetInfo);
|