Merge "Catch exception when failing to create slice" into pi-dev