rollbar / pyrollbar

Error tracking and logging from Python to Rollbar
https://docs.rollbar.com/docs/python/
MIT License
213 stars 135 forks source link

Support pathlib.Path() objects #450

Closed singingwolfboy closed 1 week ago

singingwolfboy commented 4 months ago

Fixes #345. This change allows Rollbar to convert pathlib.Path objects to regular strings for serialization purposes. This also prevents Rollbar from crashing in the default Django configuration, where settings.BASE_DIR is a PosixPath object.

Type of change

Checklists

Development

Code review