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());
|
depth = Integer.parseInt(depthBox.getText());
|
||||||
limit = Integer.parseInt(limitBox.getText());
|
limit = Integer.parseInt(limitBox.getText());
|
||||||
} catch (NumberFormatException e) {
|
} catch (NumberFormatException e) {
|
||||||
|
statusPopup.showError("Invalid depth/limit parameter", e);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user