Added better error message. not much else can be done

Added better error handling for this shit. This is the most that can be done without users complaining that we are editing their permissions too much.