|
@@ -379,7 +379,7 @@ returns
|
|
|
current_length = body.length
|
|
|
return true if body.length <= limit
|
|
|
|
|
|
- raise Exceptions::UnprocessableEntity, "body if article is to large, #{current_length} chars - only #{limit} allowed" if !ApplicationHandleInfo.postmaster?
|
|
|
+ raise Exceptions::UnprocessableEntity, "body of article is too large, #{current_length} chars - only #{limit} allowed" if !ApplicationHandleInfo.postmaster?
|
|
|
|
|
|
logger.warn "WARNING: cut string because of database length #{self.class}.body(#{limit} but is #{current_length})"
|
|
|
self.body = body[0, limit]
|