mu-semtech / mu-python-template

Template for running Python/Flask microservices
MIT License
4 stars 8 forks source link

Log startup errors with a full stack trace #15

Closed piemonkey closed 9 months ago

piemonkey commented 11 months ago

str(e) gives us just the string message, which is often not helpful. This change uses the standard logging module to log a stack trace instead.