音频样例配置下发,源文件时长不能超过120s的错误信息提示
This commit is contained in:
@@ -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)");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user