mirror of
https://github.com/fergalmoran/picard.git
synced 2026-01-02 22:53:58 +00:00
Merge pull request #1800 from phw/PICARD-1718-crash-handler
PICARD-1718: crash handler
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
#!/usr/bin/env python3
|
||||
from picard.tagger import main
|
||||
main('%(localedir)s', %(autoupdate)s)
|
||||
|
||||
try:
|
||||
from picard.tagger import main
|
||||
main('%(localedir)s', %(autoupdate)s)
|
||||
except SystemExit:
|
||||
raise # Just continue with a normal application exit
|
||||
except: # noqa: E722,F722 # pylint: disable=bare-except
|
||||
from picard import crash_handler
|
||||
crash_handler()
|
||||
raise
|
||||
|
||||
Reference in New Issue
Block a user