From a30c015bae1bd5f555d2fef4b672048445b1d3a0 Mon Sep 17 00:00:00 2001 From: Christophe Demarey Date: Wed, 15 Nov 2023 12:29:50 +0100 Subject: [PATCH] remove halt --- src/PharoLauncher-Core/PhLVirtualMachineManager.class.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PharoLauncher-Core/PhLVirtualMachineManager.class.st b/src/PharoLauncher-Core/PhLVirtualMachineManager.class.st index fdfad171..ce8e6c78 100644 --- a/src/PharoLauncher-Core/PhLVirtualMachineManager.class.st +++ b/src/PharoLauncher-Core/PhLVirtualMachineManager.class.st @@ -381,7 +381,7 @@ PhLVirtualMachineManager >> imageVersion [ [ [ self imageVersionFromFile ] on: PhLImageVersionDeterminationError do: [ "no version file, generate it" - [ 1 halt. self imageVersionFromFileWith: (self imageVersionCommandWithPreferences: false) ] + [ self imageVersionFromFileWith: (self imageVersionCommandWithPreferences: false) ] on: PhLImageVersionDeterminationError, PhLProcessTimeOut do: [ "Command probably failed, try to run without --no-default-preferences option (only available since Pharo 3.0)" self imageVersionFromFileWith: (self imageVersionCommandWithPreferences: true) ] ] ]