Fixed Inner Core java folders, improved error handling

This commit is contained in:
MaXFeeD
2026-01-28 03:40:37 +03:00
parent aa45e4060d
commit 754eb6f274
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -107,8 +107,8 @@ class BuildConfig(MakeDataConfig):
manifest_path = join(directory, "manifest")
manifest = FileConfig(manifest_path, raise_non_existing=True)
manifest.delete_value("path")
config.merge_config(manifest, exclusive_lists=True)
config.delete_value("path")
return self.obtain_java_manifest_data(relative_path=relative_path, output_path=output_path, config=config)
+1 -1
View File
@@ -893,7 +893,7 @@ def abort(*values: object, sep: Optional[str] = " ", code: int = 255, cause: Opt
from traceback import print_exception
buffer = StringIO()
print_exception(cause.__class__, cause, cause.__traceback__, file=buffer)
pretty_error(*buffer.getvalue().rsplit("\n", 9)[1:-1], sep="\n")
pretty_error(*buffer.getvalue().rsplit("\n", 13)[1:-1], sep="\n")
if len(values) != 0:
pretty_print(UNICODE_BALLOT_X, style="class:print.failure", end=" ")
pretty_print(*values, sep=sep, style="class:print.abort-message")