Fixed mistake in \LogLib\Classes > Console > outException()
where the function attempts to print out a previous exception by calling getPrevious()
as an array instead of a function call.
This commit is contained in:
parent
881145c1cb
commit
0d92d2a838
2 changed files with 6 additions and 1 deletions
|
@ -9,6 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
* Changed the Timestamp format to display micro time instead of a date format
|
* Changed the Timestamp format to display micro time instead of a date format
|
||||||
|
* Timestamp Formats can now display in red or yellow to indicate performance impacts between log entries
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
* Fixed mistake in `\LogLib\Classes > Console > outException()` where the function attempts to print out a previous
|
||||||
|
exception by calling `getPrevious()` as an array instead of a function call.
|
||||||
|
|
||||||
## [1.0.1] - 2023-02-10
|
## [1.0.1] - 2023-02-10
|
||||||
|
|
||||||
|
|
|
@ -211,7 +211,7 @@
|
||||||
if($exception->getPrevious() !== null)
|
if($exception->getPrevious() !== null)
|
||||||
{
|
{
|
||||||
print('Previous Exception:' . PHP_EOL);
|
print('Previous Exception:' . PHP_EOL);
|
||||||
self::outException($exception['previous']);
|
self::outException($exception->getPrevious());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue