Fixes #311: Patch customApp Exception