diff --git a/app/jobs/git_job.rb b/app/jobs/git_job.rb index 3de1289..1b9f8c6 100644 --- a/app/jobs/git_job.rb +++ b/app/jobs/git_job.rb @@ -13,11 +13,12 @@ class GitJob < ApplicationJob end rescue StandardError => e ExceptionLog.add(e, source: "GitJob", identifier: identifier) + raise(e) end private def system!(*) - system(*, exception: true, chdir: base_path) + system(*, exception: true, chdir: Websites.config.yiffy2_storage.base_path) end end