diff options
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/runtime/commands/QueryCommand.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/commands/QueryCommand.java b/src/main/java/com/google/devtools/build/lib/runtime/commands/QueryCommand.java index 72ec9ad8f7..2792a15b66 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/commands/QueryCommand.java +++ b/src/main/java/com/google/devtools/build/lib/runtime/commands/QueryCommand.java @@ -126,7 +126,7 @@ public final class QueryCommand implements BlazeCommand { QueryEvalResult<Target> result; try { result = env.evaluateQuery(expr); - } catch (QueryException e) { + } catch (QueryException | InterruptedException e) { // Keep consistent with reportBuildFileError() runtime.getReporter().handle(Event.error(e.getMessage())); return ExitCode.ANALYSIS_FAILURE; |