Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117979166
D3821.1775519665.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
384 B
Referenced Files
None
Subscribers
None
D3821.1775519665.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D3821: Throw an error if we attempt to release a manually executed job.
Attached
Detach File
Event Timeline