Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-07-03 08:48:00 +0300
committerShinya Maeda <shinya@gitlab.com>2018-07-03 08:48:00 +0300
commit902e69dedd1b4c60ce109c346b65c5e61a46ff4a (patch)
tree0c805c0d4e6e24cdbc91bf96103c1643d0fa5926 /app/models/ci
parentb223f7b7a081be31cf5cc6026decad13bd79c813 (diff)
Fix error message
Diffstat (limited to 'app/models/ci')
-rw-r--r--app/models/ci/build_trace_chunk.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/build_trace_chunk.rb b/app/models/ci/build_trace_chunk.rb
index e7c56b94751..b724d0cb517 100644
--- a/app/models/ci/build_trace_chunk.rb
+++ b/app/models/ci/build_trace_chunk.rb
@@ -70,7 +70,7 @@ module Ci
end
def append(new_data, offset)
- raise ArgumentError, 'New data is nil' unless new_data
+ raise ArgumentError, 'New data is missing' unless new_data
raise ArgumentError, 'Offset is out of range' if offset > size || offset < 0
raise ArgumentError, 'Chunk size overflow' if CHUNK_SIZE < (offset + new_data.bytesize)