update try_import_send_exception

pull/420/head
JiaoPL 2023-10-18 19:19:55 +08:00
parent 44f5c51747
commit e3aff2c23e
1 changed files with 1 additions and 1 deletions

View File

@ -43,5 +43,5 @@ def try_import_send_exception():
from uniscale_monitoring import send_exception_msg as send_exception
return send_exception
except ModuleNotFoundError:
except ImportError:
return None