change error to warning
This commit is contained in:
parent
1139acd9f3
commit
9a651b567d
1 changed files with 2 additions and 2 deletions
|
@ -183,7 +183,7 @@ class ViewAssetsController extends Controller
|
||||||
try {
|
try {
|
||||||
$settings->notify(new RequestAssetCancelation($data));
|
$settings->notify(new RequestAssetCancelation($data));
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
Log::error($e);
|
Log::warning($e);
|
||||||
}
|
}
|
||||||
return redirect()->route('requestable-assets')
|
return redirect()->route('requestable-assets')
|
||||||
->with('success')->with('success', trans('admin/hardware/message.requests.canceled'));
|
->with('success')->with('success', trans('admin/hardware/message.requests.canceled'));
|
||||||
|
@ -195,7 +195,7 @@ class ViewAssetsController extends Controller
|
||||||
try {
|
try {
|
||||||
$settings->notify(new RequestAssetNotification($data));
|
$settings->notify(new RequestAssetNotification($data));
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
Log::error($e);
|
Log::warning($e);
|
||||||
}
|
}
|
||||||
|
|
||||||
return redirect()->route('requestable-assets')->with('success')->with('success', trans('admin/hardware/message.requests.success'));
|
return redirect()->route('requestable-assets')->with('success')->with('success', trans('admin/hardware/message.requests.success'));
|
||||||
|
|
Loading…
Add table
Reference in a new issue