add some validation to row edit, better handle setting null cols with empty
This commit is contained in:
@@ -6,6 +6,7 @@ use Exception;
|
||||
use Illuminate\Auth\AuthenticationException;
|
||||
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
|
||||
use Illuminate\Validation\ValidationException;
|
||||
use MightyPork\Exceptions\Exceptions\SimpleValidationException;
|
||||
|
||||
class Handler extends ExceptionHandler
|
||||
{
|
||||
@@ -15,7 +16,7 @@ class Handler extends ExceptionHandler
|
||||
* @var array
|
||||
*/
|
||||
protected $dontReport = [
|
||||
//
|
||||
SimpleValidationException::class,
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace FlowBox\Exceptions;
|
||||
|
||||
class ViewException extends FBRuntimeException
|
||||
{
|
||||
public $captured;
|
||||
|
||||
public function __construct(\Exception $cause, $captured)
|
||||
{
|
||||
$this->captured = $captured;
|
||||
parent::__construct($cause);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user