Silence any errors here

This commit is contained in:
David Bomba 2023-07-23 09:58:54 +10:00
parent ba3873ab85
commit e3dd63a9cc
2 changed files with 19 additions and 1 deletions

View File

@ -43,6 +43,10 @@ class UnlinkFile implements ShouldQueue
return;
}
Storage::disk($this->disk)->delete($this->file_path);
try {
Storage::disk($this->disk)->delete($this->file_path);
} catch (\Exception $e) {
}
}
}

View File

@ -20,6 +20,20 @@ return new class extends Migration
$ir->decimal_separator = ',';
$ir->save();
}
$ld = \App\Models\Currency::find(115);
if(!$ld) {
$ld = new \App\Models\Currency();
$ld->id = 115;
$ld->code = 'LYD';
$ld->name = 'Libyan Dinar';
$ld->symbol = 'LD';
$ld->thousand_separator = ',';
$ld->decimal_separator = '.';
$ld->precision = 3;
$ld->save();
}
}
/**