The error message shown in the notificationbar did not contain the actual error message but the %s placeholder when applying an invalid xml file. This is fixed here by simply applying the same error message as in the debug logs to it.
Before:
After: