Commit ba11d75c authored by Fabrice  ALLAIN's avatar Fabrice ALLAIN
Browse files

Update aria/core/ariabase.py

parent bf0cac53
......@@ -265,7 +265,7 @@ class AriaBaseClass:
if self.__class__.display_debug:
self.message(msg, prefix='DEBUG')
def error(self, exception=None, error='', msg=None):
def error(self, exception=None, error='', msg=""):
"""
Error log
......@@ -286,7 +286,7 @@ class AriaBaseClass:
import inspect
msg = msg if msg else ''
msg = str(msg) if msg else ''
if exception is None:
exception = Exception
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment