From 724eeef0f57484a583abb9e298c65305b3a2f2bf Mon Sep 17 00:00:00 2001 From: shangguanyanfei Date: Thu, 25 Apr 2019 17:29:31 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9F=B3=E9=A2=91=E6=A0=B7=E4=BE=8B=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E4=B8=8B=E5=8F=91=EF=BC=8C=E6=BA=90=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=97=B6=E9=95=BF=E4=B8=8D=E8=83=BD=E8=B6=85=E8=BF=87120s?= =?UTF-8?q?=E7=9A=84=E9=94=99=E8=AF=AF=E4=BF=A1=E6=81=AF=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/nis/web/controller/configuration/ntc/AvController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/nis/web/controller/configuration/ntc/AvController.java b/src/main/java/com/nis/web/controller/configuration/ntc/AvController.java index d47b0f031..1399b9b3d 100644 --- a/src/main/java/com/nis/web/controller/configuration/ntc/AvController.java +++ b/src/main/java/com/nis/web/controller/configuration/ntc/AvController.java @@ -302,7 +302,8 @@ public class AvController extends BaseController { addMessage(redirectAttributes, "error", "exceeds_duration_limit"); logger.error("The duration of uploaded files exceeds the limit(" + Constants.AV_DURATION_LIMIT + "s)."); - throw new MultiPartNewException(this.getMsgProp().getProperty("exceeds_duration_limit")); + throw new MultiPartNewException(this.getMsgProp().getProperty("exceeds_duration_limit")+"("+ Constants.AV_DURATION_LIMIT + + "s)"); } }