Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

Possible error when viewing book details on a book that isn't in the database #104

Open
Sigafoos opened this issue Jul 10, 2020 · 1 comment
Labels
bug Something isn't working go Deals with the go back end

Comments

@Sigafoos
Copy link
Contributor

Jul 10 13:17:28 localhost docker-compose[20190]: app_1  | 2020/07/10 13:17:28 could not find work record not found
Jul 10 13:17:28 localhost docker-compose[20190]: app_1  |
Jul 10 13:17:28 localhost docker-compose[20190]: app_1  | (/build/service/book.go:87)
Jul 10 13:17:28 localhost docker-compose[20190]: app_1  | [2020-07-10 13:17:28]  [2.44ms]  SELECT * FROM "authors"  WHERE "authors"."deleted_at" IS NULL AND ((open_library_id = '/authors/OL7071070A')) ORDER BY "authors"."open_library_id"
ASC LIMIT 1
Jul 10 13:17:28 localhost docker-compose[20190]: app_1  | [0 rows affected or returned ]

It does display the authors, though (not the description: they may not have one?), so this might just be log spam. In which case I'd like to remove that.

@Sigafoos Sigafoos added bug Something isn't working go Deals with the go back end labels Jul 10, 2020
@Sigafoos
Copy link
Contributor Author

Confirmed that a book not in the db will show the description if it exists. Just log spam then.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working go Deals with the go back end
Projects
None yet
Development

No branches or pull requests

1 participant