uhd-urz / elAPI

An extensible API client for eLabFTW
GNU Affero General Public License v3.0
5 stars 0 forks source link

TypeError: Logger._log() got an unexpected keyword argument 'style' #45

Closed alexander-haller closed 1 month ago

alexander-haller commented 1 month ago

In GitLab by @mhxion on Jun 13, 2024, 16:02

It seems I accidentally passed style=<color name> to some logger instances. style=<color name> was leftover from rich print method. Logger instances don't support any style argument! This causes logging to fail when there is an error! :/