fix: do not catch exception in revealer plugin
exceptions thrown inside `create_noise_file()` were catched and couldn't reach the `CrashReporter`.
This commit is contained in:
@@ -191,12 +191,8 @@ class Plugin(RevealerPlugin):
|
|||||||
|
|
||||||
# Define the create noise file function.
|
# Define the create noise file function.
|
||||||
def create_noise_file():
|
def create_noise_file():
|
||||||
try:
|
self.make_digital(self.d)
|
||||||
self.make_digital(self.d)
|
self.cypherseed_dialog(window)
|
||||||
except Exception:
|
|
||||||
self.logger.exception('')
|
|
||||||
else:
|
|
||||||
self.cypherseed_dialog(window)
|
|
||||||
|
|
||||||
# Handle clicks on the buttons.
|
# Handle clicks on the buttons.
|
||||||
create_button.clicked.connect(create_noise_file)
|
create_button.clicked.connect(create_noise_file)
|
||||||
|
|||||||
Reference in New Issue
Block a user