Commit 02bafbbe authored by Fabrice  ALLAIN's avatar Fabrice ALLAIN
Browse files

Update aria/core/ariabase.py

parent 8fd918a5
......@@ -412,7 +412,7 @@ class AriaBaseClass:
"""
func = inspect.currentframe().f_back.f_code
if self.display_warnings:
msg = str(msg)
......@@ -421,7 +421,7 @@ class AriaBaseClass:
self.error(msg=msg)
else:
prefix = self.__compile_name('WARNING')
self.__print(prefix, msg, verbose_level)
self.__print(prefix, msg, verbose_level, func=func)
def halt(self):
"""aborts ARIA"""
......
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