thecore_print_commons 0.1.9 → 0.1.10

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
  SHA1:
3
- metadata.gz: 3a4c926689a8f257f2b336b1d078630adaa7e391
4
- data.tar.gz: 28ba64ba6858a3293d9d1561a4c662628ab95d40
3
+ metadata.gz: 3d812920872778da561c44924739d6c61b4f6a79
4
+ data.tar.gz: 850d5e693ffc0f159463b8bdd8d1cbd54458f6fc
5
5
  SHA512:
6
- metadata.gz: 484ab705254babd17265d0e097f30f9e33a0bb9c6e7500cc47811b5902e262cd31472e458e01d9184cf39393a15b8654d9c56d993cf108b0b321f09470381b56
7
- data.tar.gz: 86a92d189f2a3e3a4d56ad084b6c3683b9aabc2a4b3bd3c9814233c619d2f4f8a6d3ed2904f705abb6c5a3803d80cb41aed16a4ef255e684ad47cf1696c1639e
6
+ metadata.gz: ce5675dea004ca73c41de752081b04577975d2681add7e9a6077eb87e764dfaad611dc5ae769d77fc48f369858abaaf3745581a42052a269728a461e2648872e
7
+ data.tar.gz: 781e9aa5a1718d865fcd449e3e865b327b5e91f65cb1bf107190dac16d133823989f30a5627afc20070cb89f559dde1bed311b54760463ecb0ff743be8df0647
@@ -9,8 +9,9 @@ class PrintWorker
9
9
  CupsPrinter.new printer_cups_name, hostname: Settings.ns(:printer_commons).cups_server
10
10
  end
11
11
  printer.print_data text, 'text/plain'
12
- rescue
13
- Rails.logger.debug("PRINTER #{printer_cups_name} ERROR: #{printer.state}")
12
+ rescue => error
13
+ Rails.logger.debug("PRINTER #{printer_cups_name} ERROR: #{$!.message}")
14
+ Rails.logger.debug($!.backtrace)
14
15
  end
15
16
  end
16
17
  end
@@ -1,3 +1,3 @@
1
1
  module ThecorePrintCommons
2
- VERSION = '0.1.9'.freeze
2
+ VERSION = '0.1.10'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_print_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni