feat: charts
This commit is contained in:
@@ -36,7 +36,10 @@ class PullSentinelImageJob implements ShouldBeEncrypted, ShouldQueue
|
||||
{
|
||||
try {
|
||||
$version = get_latest_sentinel_version();
|
||||
if (! $version) {
|
||||
if (isDev()) {
|
||||
$version = "0.0.5";
|
||||
}
|
||||
if (!$version) {
|
||||
ray('Failed to get latest Sentinel version');
|
||||
|
||||
return;
|
||||
@@ -52,7 +55,7 @@ class PullSentinelImageJob implements ShouldBeEncrypted, ShouldQueue
|
||||
}
|
||||
ray('Sentinel image is up to date');
|
||||
} catch (\Throwable $e) {
|
||||
send_internal_notification('PullSentinelImageJob failed with: '.$e->getMessage());
|
||||
send_internal_notification('PullSentinelImageJob failed with: ' . $e->getMessage());
|
||||
ray($e->getMessage());
|
||||
throw $e;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user