diff --git a/client/lib/engine/bin/SystemLib.py b/client/lib/engine/bin/SystemLib.py index 66f0664..740eb35 100755 --- a/client/lib/engine/bin/SystemLib.py +++ b/client/lib/engine/bin/SystemLib.py @@ -12,6 +12,7 @@ from contextlib import redirect_stdout, redirect_stderr import ogGlobals import StringLib +import SystemLib #NODEBUGFUNCTIONS, OGIMG, OG_ERR_CACHESIZE, OG_ERR_NOTCACHE, OG_ERR_NOTWRITE, OG_ERR_FILESYS #OG_ERR_REPO, OG_ERR_NOTOS, OG_ERR_NOGPT, OG_ERR_OUTOFLIMIT, OG_ERR_IMAGE, OG_ERR_CACHE @@ -285,7 +286,11 @@ def ogCheckProgram(*args): # Error si no se recibe 1 parĂ¡metro. if len(args) != 1: - ogRaiseError(OG_ERR_FORMAT) + SystemLib.ogRaiseError( + "session", + ogGlobals.OG_ERR_FORMAT, + f"Error: {ogGlobals.lang.MSG_ERR_FORMAT} {FUNCNAME} \"str_program ...\"" + ) return PERROR = 0 @@ -296,7 +301,11 @@ def ogCheckProgram(*args): PLOG += f" {i}" if PERROR == 1: - ogRaiseError(OG_ERR_NOTEXEC, PLOG) + SystemLib.ogRaiseError( + "session", + ogGlobals.OG_ERR_NOTEXEC, + f"Error: {PLOG}", + ) return else: return 0