Update server/model/monitor.js

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
Jimmy Huang 2022-02-07 18:46:16 +08:00 committed by GitHub
parent ee90d2713f
commit 244a7b3671
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -235,7 +235,7 @@ class Monitor extends BeanModel {
if ( data.length > 50 ) {
data = data.substring(0, 47) + "...";
}
throw new Error(bean.msg + ", but keyword is not in [ " + data + " ]");
throw new Error(bean.msg + ", but keyword is not in [" + data + "]");
}
}