diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-07-03 14:48:00 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-07-03 14:48:00 +0900 |
commit | 902e69dedd1b4c60ce109c346b65c5e61a46ff4a (patch) | |
tree | 0c805c0d4e6e24cdbc91bf96103c1643d0fa5926 | |
parent | b223f7b7a081be31cf5cc6026decad13bd79c813 (diff) | |
download | gitlab-ce-902e69dedd1b4c60ce109c346b65c5e61a46ff4a.tar.gz |
Fix error message
-rw-r--r-- | app/models/ci/build_trace_chunk.rb | 2 |
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) |