fix: more verbose error
This commit is contained in:
parent
ae6cc21f10
commit
dbd09edb51
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ public function submit()
|
||||||
resolve(CheckResaleLicense::class)();
|
resolve(CheckResaleLicense::class)();
|
||||||
$this->emit('reloadWindow');
|
$this->emit('reloadWindow');
|
||||||
} catch (\Throwable $th) {
|
} catch (\Throwable $th) {
|
||||||
session()->flash('error', 'License is not valid. Please contact support.');
|
session()->flash('error', 'Something went wrong. Please contact support. <br>Error: ' . $th->getMessage());
|
||||||
ray($th->getMessage());
|
ray($th->getMessage());
|
||||||
return redirect()->to('/settings/license');
|
return redirect()->to('/settings/license');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue