File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/de/php_perfect/intellij/ddev/cmd Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1212import java .util .Objects ;
1313
1414public final class DdevImpl implements Ddev {
15- private static final int COMMAND_TIMEOUT = 5_000 ;
15+ private static final int COMMAND_TIMEOUT = 8_000 ;
1616
1717 public @ NotNull Versions version (final @ NotNull String binary , final @ NotNull Project project ) throws CommandFailedException {
1818 return execute (binary , "version" , Versions .class , project );
@@ -30,7 +30,7 @@ public final class DdevImpl implements Ddev {
3030 processOutput = ProcessExecutor .getInstance ().executeCommandLine (commandLine , COMMAND_TIMEOUT , false );
3131
3232 if (processOutput .isTimeout ()) {
33- throw new CommandFailedException ("Command timed out after " + (COMMAND_TIMEOUT / 1000 ) + " seconds: " + commandLine .getCommandLineString ());
33+ throw new CommandFailedException ("Command timed out after " + (COMMAND_TIMEOUT / 1000 ) + " seconds: " + commandLine .getCommandLineString () + " in " + commandLine . getWorkDirectory (). getPath () );
3434 }
3535
3636 if (processOutput .getExitCode () != 0 ) {
You can’t perform that action at this time.
0 commit comments