Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-172224

ClientPackSource.downloadAndSelectResourcePack does not log exception stack trace

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.15.2
    • None
    • Plausible
    • (Unassigned)

      The bug

      The method net.minecraft.client.resources.ClientPackSource.downloadAndSelectResourcePack(String, String) (Mojang name) does not log the exception stack trace when applying the resource pack fails (message "Pack application failed").

      Here this is especially problematic because it handles any kind of Throwable and not a specific type. For example MC-172198 describes a NullPointerException and it is very difficult to find out why it occurred without stack trace.

            Unassigned Unassigned
            marcono1234 [Mod] Marcono1234
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: