From 80178b8f5c00637ec52f22977a603a475bc86c71 Mon Sep 17 00:00:00 2001 From: aryangupta701 Date: Mon, 28 Aug 2023 23:10:12 +0530 Subject: [PATCH] updated suggested changes Signed-off-by: aryangupta701 --- .../zap/extension/zest/dialogs/ZestRecordScriptDialog.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addOns/zest/src/main/java/org/zaproxy/zap/extension/zest/dialogs/ZestRecordScriptDialog.java b/addOns/zest/src/main/java/org/zaproxy/zap/extension/zest/dialogs/ZestRecordScriptDialog.java index e7b69246bc3..7b7e345e9f5 100644 --- a/addOns/zest/src/main/java/org/zaproxy/zap/extension/zest/dialogs/ZestRecordScriptDialog.java +++ b/addOns/zest/src/main/java/org/zaproxy/zap/extension/zest/dialogs/ZestRecordScriptDialog.java @@ -229,7 +229,7 @@ public void save() { try { script.setPrefix(this.getStringValue(FIELD_PREFIX)); } catch (MalformedURLException e) { - LOGGER.warn(e.getMessage(), e); + LOGGER.error(e.getMessage(), e); } } @@ -255,7 +255,7 @@ public void save() { if (!this.isServerSide()) { if (!this.extension.isClientAccessible()) { - LOGGER.error(ERROR_CLIENT); + LOGGER.warn(ERROR_CLIENT); View.getSingleton().showWarningDialog(Constant.messages.getString(ERROR_CLIENT)); return; }