now error message will shown

This commit is contained in:
Geriano
2022-07-26 14:16:36 +07:00
parent 3d7b6fb318
commit 83046a7007

View File

@@ -161,6 +161,10 @@ class MenuController extends Controller
}
} catch (Throwable $e) {
DB::rollBack();
return redirect()->back()->with('error', __(
$e->getMessage(),
));
}
}