That change looks bogus. Both because errorf simply returns an error, so this isn't doing anything, and also because this is still a panic-worthy situation. It's something broken in the implementation of the qml package, not an error in the environment or something in the developer's application.