import sys
from BFMainWindow import BFMainWindow
from PyQt5.QtWidgets import QApplication

if __name__ == '__main__':
    app = QApplication(sys.argv)
    window = BFMainWindow()
    sys.exit(app.exec_())

@@ -87,35 +87,321 @@
 ion%0A
-%0Aif __name__ == '__main__':
+from raven import Client%0A%0A%0Adef handle_exception(exctype, value, traceback):%0A    client.captureException((exctype, value, traceback))%0A%0Aif __name__ == '__main__':%0A    client = Client('https://9cdee7750e2a4b18b83138bd841c03bc:ba0ab74060fa47d29efc99fc18eb18d7@sentry.io/164738')%0A    sys.excepthook = handle_exception%0A
 %0A   

add Raven