From 6516a9df578a2d1086195ccf39eabbf81b25fcf9 Mon Sep 17 00:00:00 2001 From: Donovan Daniels Date: Mon, 21 Oct 2024 10:36:20 -0500 Subject: [PATCH] re-raise errors & fix base path --- app/jobs/git_job.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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