kithe 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc058c5763273c781d28d3135d6f15bcdfc8b80e7a2837211498fa0b5c46b560
4
- data.tar.gz: a9f0b20a012a985d252b41f0b8dd65820fbacee0b32f0404769324f9ff4399a4
3
+ metadata.gz: bde82499d288e869bcdc6ca8155591e2dd2f5bbbd99da67fac721817eab72d6a
4
+ data.tar.gz: 451c606f2840694677c01eac5af0bc2594e9dba98837cdc56701ffa0774f4ee4
5
5
  SHA512:
6
- metadata.gz: 221ebeaa3a2eac5e249c275c4c453a6912f96d1ac9c4b2f96d0618f0259ca74084d83020ecd7a1bfbdd0a5db1e3b8549e5a3daccf6711292fb2fa238171d8cbd
7
- data.tar.gz: b1dee4a48e7d22f8a3bb31a8338f8c551ba8a4fc870fc9bbc6f7cad00614cc061c67e54c9874c6fabea23518b9c95bf3a06fbf424e003c2ce588aade10c84bf5
6
+ metadata.gz: 0de2c06c7a1f60d73da84697406a92350467ae0a8734a21e55ce2b29646a647fb5f06ef1ea0b58135758b86f8f48dbd5f95c1be92ef164ebf5e66429d1c3463d
7
+ data.tar.gz: d910de267c9b7753f4879147c0bf77e893507d87df923e27722c47a6002acc95ffc5414751a5dedc0ccac48e8845aa2e95cc290ed670bdf3f7fef554a84c7182
@@ -1,7 +1,12 @@
1
1
  module Kithe
2
2
  class CreateDerivativesJob < Job
3
3
  def perform(asset, mark_created: nil)
4
- asset.create_derivatives(mark_created: mark_created)
4
+ asset.create_derivatives(mark_created: mark_created)
5
+ end
6
+ # This error typically occurs when several large assets, whose derivatives
7
+ # take a long time to generate, are deleted immediately after ingest.
8
+ rescue_from(ActiveJob::DeserializationError) do |exception|
9
+ Rails.logger.error("Kithe::CreateDerivativesJob: Unable to create derivatives for this asset, as it was unavailable. Details: #{exception}")
5
10
  end
6
11
  end
7
12
  end
data/lib/kithe/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kithe
2
- VERSION = '1.1.1'
2
+ VERSION = '1.1.2'
3
3
  end