Add propert exception handling to QueryStoreInstaller