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