forked from GitHub/gf-core
WebUI: show error when depth/limit has invalid value
This commit is contained in:
@@ -110,6 +110,7 @@ public class QueryPanel extends Composite {
|
||||
depth = Integer.parseInt(depthBox.getText());
|
||||
limit = Integer.parseInt(limitBox.getText());
|
||||
} catch (NumberFormatException e) {
|
||||
statusPopup.showError("Invalid depth/limit parameter", e);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user