re-raise errors & fix base path

This commit is contained in:
Donovan Daniels 2024-10-21 10:36:20 -05:00
parent 1ac5f29903
commit 6516a9df57
Signed by: Donovan_DMC
GPG Key ID: 907D29CBFD6157BA

View File

@ -13,11 +13,12 @@ class GitJob < ApplicationJob
end end
rescue StandardError => e rescue StandardError => e
ExceptionLog.add(e, source: "GitJob", identifier: identifier) ExceptionLog.add(e, source: "GitJob", identifier: identifier)
raise(e)
end end
private private
def system!(*) def system!(*)
system(*, exception: true, chdir: base_path) system(*, exception: true, chdir: Websites.config.yiffy2_storage.base_path)
end end
end end