summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-07-03 14:48:00 +0900
committerShinya Maeda <shinya@gitlab.com>2018-07-03 14:48:00 +0900
commit902e69dedd1b4c60ce109c346b65c5e61a46ff4a (patch)
tree0c805c0d4e6e24cdbc91bf96103c1643d0fa5926
parentb223f7b7a081be31cf5cc6026decad13bd79c813 (diff)
downloadgitlab-ce-902e69dedd1b4c60ce109c346b65c5e61a46ff4a.tar.gz
Fix error message
-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)