Updated code to enforce maximum length for Elmah error message.