diff --git a/app/Http/Controllers/AssetModelsController.php b/app/Http/Controllers/AssetModelsController.php index 0ae3c59e88..169808897f 100755 --- a/app/Http/Controllers/AssetModelsController.php +++ b/app/Http/Controllers/AssetModelsController.php @@ -209,7 +209,7 @@ class AssetModelsController extends Controller try { unlink(app('models_upload_path').$old_image); } catch (\Exception $e) { - \Log::error($e); + \Log::info($e); } } @@ -246,7 +246,7 @@ class AssetModelsController extends Controller try { unlink(public_path().'/uploads/models/'.$model->image); } catch (\Exception $e) { - \Log::error($e); + \Log::info($e); } } diff --git a/app/Http/Controllers/AssetsController.php b/app/Http/Controllers/AssetsController.php index e143a8a184..1019397852 100755 --- a/app/Http/Controllers/AssetsController.php +++ b/app/Http/Controllers/AssetsController.php @@ -326,7 +326,7 @@ class AssetsController extends Controller unlink(public_path().'/uploads/assets/'.$asset->image); $asset->image = ''; } catch (\Exception $e) { - \Log::error($e); + \Log::info($e); } } diff --git a/app/Http/Controllers/CategoriesController.php b/app/Http/Controllers/CategoriesController.php index 74b83acac3..1c93c9639d 100755 --- a/app/Http/Controllers/CategoriesController.php +++ b/app/Http/Controllers/CategoriesController.php @@ -179,7 +179,7 @@ class CategoriesController extends Controller try { unlink(app('categories_upload_path').$old_image); } catch (\Exception $e) { - \Log::error($e); + \Log::info($e); } } diff --git a/app/Http/Controllers/CompaniesController.php b/app/Http/Controllers/CompaniesController.php index 8d1a854720..05fc958c38 100644 --- a/app/Http/Controllers/CompaniesController.php +++ b/app/Http/Controllers/CompaniesController.php @@ -148,7 +148,7 @@ final class CompaniesController extends Controller try { unlink(app('companies_upload_path').$old_image); } catch (\Exception $e) { - \Log::error($e); + \Log::info($e); } } diff --git a/app/Http/Controllers/DepartmentsController.php b/app/Http/Controllers/DepartmentsController.php index 49375d8cdb..42eeff89d7 100644 --- a/app/Http/Controllers/DepartmentsController.php +++ b/app/Http/Controllers/DepartmentsController.php @@ -191,7 +191,7 @@ class DepartmentsController extends Controller try { unlink(app('departments_upload_path').$old_image); } catch (\Exception $e) { - \Log::error($e); + \Log::info($e); } } diff --git a/app/Http/Controllers/LocationsController.php b/app/Http/Controllers/LocationsController.php index b67843b836..62f067370d 100755 --- a/app/Http/Controllers/LocationsController.php +++ b/app/Http/Controllers/LocationsController.php @@ -200,7 +200,7 @@ class LocationsController extends Controller try { unlink(app('locations_upload_path').$old_image); } catch (\Exception $e) { - \Log::error($e); + \Log::info($e); } } diff --git a/app/Http/Controllers/ManufacturersController.php b/app/Http/Controllers/ManufacturersController.php index 686a2081fa..08c24c9c23 100755 --- a/app/Http/Controllers/ManufacturersController.php +++ b/app/Http/Controllers/ManufacturersController.php @@ -170,7 +170,7 @@ class ManufacturersController extends Controller try { unlink(app('manufacturers_upload_path').$old_image); } catch (\Exception $e) { - \Log::error($e); + \Log::info($e); } } @@ -207,7 +207,7 @@ class ManufacturersController extends Controller try { unlink(public_path().'/uploads/manufacturers/'.$manufacturer->image); } catch (\Exception $e) { - \Log::error($e); + \Log::info($e); } } diff --git a/app/Http/Controllers/SuppliersController.php b/app/Http/Controllers/SuppliersController.php index 7666ebff4f..ab3c499bef 100755 --- a/app/Http/Controllers/SuppliersController.php +++ b/app/Http/Controllers/SuppliersController.php @@ -174,7 +174,7 @@ class SuppliersController extends Controller try { unlink(app('suppliers_upload_path').$old_image); } catch (\Exception $e) { - \Log::error($e); + \Log::info($e); } }