summaryrefslogtreecommitdiff
path: root/python/update.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/update.py')
-rw-r--r--python/update.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/update.py b/python/update.py
index 3bdb677c..308094f7 100644
--- a/python/update.py
+++ b/python/update.py
@@ -25,7 +25,7 @@ import ctypes
import binaryninja
from . import _binaryninjacore as core
from .enums import UpdateResult
-from .log import log_error
+from .log import log_error_for_exception
class _UpdateChannelMetaClass(type):
@@ -78,7 +78,7 @@ class UpdateProgressCallback:
return self.func(progress, total)
return True
except:
- log_error(traceback.format_exc())
+ log_error_for_exception("Unhandled Python exception in update progress callback")
@property
def active(cls):