mirror of
https://github.com/getgrav/grav.git
synced 2026-03-03 02:51:29 +01:00
Make Debugger::addException() to accept \Throwable
This commit is contained in:
@@ -705,10 +705,10 @@ class Debugger
|
||||
/**
|
||||
* Dump exception into the Messages tab of the Debug Bar
|
||||
*
|
||||
* @param \Exception $e
|
||||
* @param \Throwable $e
|
||||
* @return Debugger
|
||||
*/
|
||||
public function addException(\Exception $e)
|
||||
public function addException(\Throwable $e)
|
||||
{
|
||||
if ($this->initialized && $this->enabled) {
|
||||
if ($this->debugbar) {
|
||||
|
||||
Reference in New Issue
Block a user