re-raise errors & fix base path
This commit is contained in:
parent
1ac5f29903
commit
6516a9df57
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user