Skip to content

Commit

Permalink
Merge pull request #5 from MrMitch/MrMitch-fix-title-length
Browse files Browse the repository at this point in the history
fix ExceptionLoggingService::IssueTitleMaxLength
  • Loading branch information
quentin-st committed Oct 3, 2016
2 parents 8a3568a + 8b998a4 commit d3a652b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Service/ExceptionLoggingService.php
Expand Up @@ -14,7 +14,7 @@ class ExceptionLoggingService
const CommentPattern = "Thrown {count} time{plural}, last one was {datetime}";
const CommentRegex = "/^Thrown (\\d*) times?, last one was (.*)$/";
const UnknownLoggedInUser = "None";
const IssueTitleMaxLength = 256;
const IssueTitleMaxLength = 255;

/**
* GitLab's API URL, defaults to hosted
Expand Down Expand Up @@ -160,7 +160,7 @@ private function getCommentBody($count=1)
}

/**
* GitLab issues titles are limited to 256 chars, let's truncate it if necessary
* GitLab issues titles are limited to 255 chars, let's truncate it if necessary
* @param array $exceptionInfos
* @return string
*/
Expand Down

0 comments on commit d3a652b

Please sign in to comment.