File: excepthook.py

package info (click to toggle)
python-daiquiri 3.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 208 kB
  • sloc: python: 795; makefile: 5
file content (7 lines) | stat: -rw-r--r-- 182 bytes parent folder | download
1
2
3
4
5
6
7
import daiquiri

daiquiri.setup(set_excepthook=False)
logger = daiquiri.getLogger(__name__)

# This exception will not pass through Daiquiri:
raise Exception("Something went wrong")