change error to warning

This commit is contained in:
spencerrlongg 2024-10-01 14:24:03 -05:00
parent 1139acd9f3
commit 9a651b567d

View file

@ -183,7 +183,7 @@ class ViewAssetsController extends Controller
try {
$settings->notify(new RequestAssetCancelation($data));
} catch (\Exception $e) {
Log::error($e);
Log::warning($e);
}
return redirect()->route('requestable-assets')
->with('success')->with('success', trans('admin/hardware/message.requests.canceled'));
@ -195,7 +195,7 @@ class ViewAssetsController extends Controller
try {
$settings->notify(new RequestAssetNotification($data));
} catch (\Exception $e) {
Log::error($e);
Log::warning($e);
}
return redirect()->route('requestable-assets')->with('success')->with('success', trans('admin/hardware/message.requests.success'));