diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-06-30 12:05:33 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-07-07 15:08:15 +0200 |
commit | 939473076a5ce357e978ffa24db9ef3981424342 (patch) | |
tree | fa519dbd8cc2ea9df893637dd7801f420c694f78 /app | |
parent | 14e45c424fa6b147cb32e2ef268b89ab08c37f1f (diff) | |
download | gitlab-ce-939473076a5ce357e978ffa24db9ef3981424342.tar.gz |
Add description to exception in bg migrations worker
Diffstat (limited to 'app')
-rw-r--r-- | app/workers/background_migration_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/background_migration_worker.rb b/app/workers/background_migration_worker.rb index e6ca1159b38..e7ed71a687c 100644 --- a/app/workers/background_migration_worker.rb +++ b/app/workers/background_migration_worker.rb @@ -20,7 +20,7 @@ class BackgroundMigrationWorker now = Time.now.to_i schedule = now + delay.to_i - raise ArgumentError if schedule <= now + raise ArgumentError, 'Delay time invalid!' if schedule <= now Sidekiq::Client.push_bulk('class' => self, 'queue' => sidekiq_options['queue'], |