Skip to content

Commit

Permalink
shut down loggers
Browse files Browse the repository at this point in the history
  • Loading branch information
Santi871 committed Jun 3, 2019
1 parent b6c5f6d commit cc093c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dcs_wp_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from src.first_setup import first_time_setup
from src.objects import generate_default_bases
import traceback
import logging
from pyproj import datadir, _datadir


Expand Down Expand Up @@ -41,6 +42,7 @@ def main():
main()
except Exception as e:
logger.error("Exception occurred", exc_info=True)
logging.shutdown()
exception_gui(traceback.format_exc())
raise

Expand Down

0 comments on commit cc093c7

Please sign in to comment.