release the job rather than throwing
This commit is contained in:
@@ -34,7 +34,8 @@ class WaitForServerToConnect implements ShouldQueue, ShouldBeEncrypted
|
||||
if (! $process->isSuccessful()) {
|
||||
logger('server not reachable');
|
||||
logger($process->getErrorOutput());
|
||||
throw new \Exception('Server is not reachable');
|
||||
$this->release(15);
|
||||
return;
|
||||
}
|
||||
|
||||
$this->server->update([
|
||||
|
||||
@@ -77,7 +77,7 @@ if (form.provider && !props.locations) {
|
||||
</div>
|
||||
<div v-if="form.location" class="grid md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-2">
|
||||
<RadioButton
|
||||
v-for="serverType in serverTypes.sort((a, b) => a.cores - b.cores)"
|
||||
v-for="serverType in serverTypes?.sort((a, b) => a.cores - b.cores) ?? []"
|
||||
v-model="form.server_type"
|
||||
:value="serverType.id"
|
||||
:disabled="serverType.disabled"
|
||||
|
||||
Reference in New Issue
Block a user