Commit 990419e2 authored by Fabrice  ALLAIN's avatar Fabrice ALLAIN
Browse files

fix: solve issue with warnings in the logger

parent 4dfb95cd
......@@ -444,8 +444,9 @@ class AriaBaseClass:
if self.warnings_as_errors:
self.error(msg=msg)
else:
prefix = self.__compile_name('WARNING')
self.__print(prefix, msg, verbose_level, func=func)
# TODO: Find a way to use prefix correctly
# prefix = self.__compile_name('WARNING')
self.__print('WARNING', str(msg), verbose_level, func=func)
def halt(self):
"""aborts ARIA"""
......
Markdown is supported
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