Page MenuHomePhabricator

D10755.id25813.diff
No OneTemporary

D10755.id25813.diff

diff --git a/src/applications/repository/worker/PhabricatorRepositoryCommitHeraldWorker.php b/src/applications/repository/worker/PhabricatorRepositoryCommitHeraldWorker.php
--- a/src/applications/repository/worker/PhabricatorRepositoryCommitHeraldWorker.php
+++ b/src/applications/repository/worker/PhabricatorRepositoryCommitHeraldWorker.php
@@ -99,9 +99,11 @@
if ($byte_limit && $size > $byte_limit) {
$pretty_size = phutil_format_bytes($size);
$pretty_limit = phutil_format_bytes($byte_limit);
- throw new Exception(
- "Patch size of {$pretty_size} exceeds configured byte size limit of ".
- "{$pretty_limit}.");
+ throw new Exception(pht(
+ 'Patch size of %s exceeds configured byte size limit (%s) of %s.',
+ $pretty_size,
+ $byte_key,
+ $pretty_limit));
}
return $raw_diff;

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 8, 1:07 AM (4 w, 19 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7361411
Default Alt Text
D10755.id25813.diff (864 B)

Event Timeline