This commit is contained in:
santaspeen 2022-02-20 23:58:13 +03:00
parent 81ed4640a0
commit c25da23d4c
2 changed files with 5 additions and 5 deletions

View File

@ -221,8 +221,8 @@ class Console:
else:
self.log(self.__not_found % cmd)
except Exception as e:
if e == KeyboardInterrupt:
raise e
# if e == KeyboardInterrupt:
# raise e
ConsoleIO.write_err("\rDuring the execution of the command, an error occurred:\n\n" +
str(traceback.format_exc()) +
"\nType Enter to continue.")

View File

@ -94,6 +94,6 @@ def cli_mode():
if __name__ == '__main__':
cli_print()
# logger_preview()
# builtins_preview()
# cli_mode()
logger_preview()
builtins_preview()
cli_mode()