Page MenuHomePhorge

D3821.1775519665.diff
No OneTemporary

Authored By
Unknown
Size
384 B
Referenced Files
None
Subscribers
None

D3821.1775519665.diff

diff --git a/src/app/Jobs/CommonJob.php b/src/app/Jobs/CommonJob.php
--- a/src/app/Jobs/CommonJob.php
+++ b/src/app/Jobs/CommonJob.php
@@ -115,6 +115,8 @@
// @phpstan-ignore-next-line
if ($this->job) {
$this->job->release($delay);
+ } else {
+ throw new \Exception("Attempted to release a manually executed job");
}
}

File Metadata

Mime Type
text/plain
Expires
Mon, Apr 6, 11:54 PM (1 h, 51 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18840128
Default Alt Text
D3821.1775519665.diff (384 B)

Event Timeline