Stop printing a huge error on the logs when the Narrator fails to load on Linux.

The mod hides stacktraces and the path from the narrator error, reducing it by 98%¹

The mod also supports various properties:

  • minecraft.narrator - Set to false to completely disable the narrator, and so the error too (Default: true)
  • minecraft.narrator.error.hide_stacktrace - Removes stacktraces² from the logs (Default: true)
  • minecraft.narrator.error.hide_path - Removes the path from the error message (Default: true)
  • minecraft.narrator.error.replace_exception - Replaces the exception thrown to hide the supressed exceptions from the original one (Default: true)
¹Calculated from the log printed on development env
²minecraft.narrator.error.hide_stacktrace only disables direct stack traces, the stacktrace of supressed will still show if minecraft.narrator.error.replace_exception is set to false

Project members

Awakened-Redstone

Member

Details

Licensed LGPL-3.0-only
Published 5 months ago
Updated 5 months ago