3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-05 23:55:33 +00:00

Change image unlink error log to info from error

This commit is contained in:
snipe
2019-03-13 12:22:12 -07:00
parent 7deab0f53b
commit de16fee00a
8 changed files with 10 additions and 10 deletions

View File

@ -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);
}
}