Skip to content

Commit

Permalink
Add error loging when skipping printers
Browse files Browse the repository at this point in the history
This will help debug #61.
  • Loading branch information
armooo committed Jul 9, 2015
1 parent 197717a commit d29fda5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudprint/cloudprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def sync_printers(cups_connection, cpp):
ppd, description = get_printer_info(cups_connection, printer_name)
cpp.add_printer(printer_name, description, ppd)
except (cups.IPPError, UnicodeDecodeError):
LOGGER.info('Skipping ' + printer_name)
LOGGER.error('Skipping ' + printer_name)

#Existing printers
for printer_name in local_printer_names & remote_printer_names:
Expand Down

0 comments on commit d29fda5

Please sign in to comment.