fix: comment id should be string

fix: do not wait for GH response, stop preview before
This commit is contained in:
Andras Bacsai
2024-06-06 12:50:38 +02:00
parent 277d939033
commit 7f052163e3
3 changed files with 34 additions and 5 deletions

View File

@@ -31,6 +31,7 @@ class ApplicationPullRequestUpdateJob implements ShouldQueue, ShouldBeEncrypted
{
try {
if ($this->application->is_public_repository()) {
ray('Public repository. Skipping comment update.');
return;
}
if ($this->status === ProcessStatus::CLOSED) {
@@ -59,7 +60,7 @@ class ApplicationPullRequestUpdateJob implements ShouldQueue, ShouldBeEncrypted
}
} catch (\Throwable $e) {
ray($e);
throw $e;
return $e;
}
}