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:
Netkas 2023-07-06 18:42:25 -04:00
parent 881145c1cb
commit 0d92d2a838
No known key found for this signature in database
GPG key ID: 5DAF58535614062B
2 changed files with 6 additions and 1 deletions

View file

@ -9,6 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
* 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

View file

@ -211,7 +211,7 @@
if($exception->getPrevious() !== null)
{
print('Previous Exception:' . PHP_EOL);
self::outException($exception['previous']);
self::outException($exception->getPrevious());
}
}
}