mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
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