Page MenuHomePhorge

D3821.1775802808.diff
No OneTemporary

Authored By
Unknown
Size
384 B
Referenced Files
None
Subscribers
None

D3821.1775802808.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
Fri, Apr 10, 6:33 AM (15 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18840128
Default Alt Text
D3821.1775802808.diff (384 B)

Event Timeline