Added logging information for errors

This commit is contained in:
OzzieIsaacs
2018-07-07 12:27:07 +02:00
parent 30d9991daf
commit 420f685fd9
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1232,7 +1232,7 @@ def author(book_id, page):
other_books = get_unique_other_books(entries.all(), author_info.books)
except:
# Skip goodreads, if site is down/inaccessible
pass
app.logger.error('Goodreads website is down/inaccessible')
return render_title_template('author.html', entries=entries, pagination=pagination,
title=name, author=author_info, other_books=other_books)