logging failure instead of printing to console