mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
release lock before warn
This commit is contained in:
+1
-1
@@ -461,8 +461,8 @@ if (!isset($self))
|
|||||||
} catch (\Exception $exception) {
|
} catch (\Exception $exception) {
|
||||||
$msg = $exception->getMessage();
|
$msg = $exception->getMessage();
|
||||||
do_log("[ANNOUNCE] user: $userid, torrent: $torrentid, $msg " . $exception->getTraceAsString(), 'error');
|
do_log("[ANNOUNCE] user: $userid, torrent: $torrentid, $msg " . $exception->getTraceAsString(), 'error');
|
||||||
warn($msg);
|
|
||||||
$lock->release();
|
$lock->release();
|
||||||
|
warn($msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user