adminjs-typeorm icon indicating copy to clipboard operation
adminjs-typeorm copied to clipboard

fix 404 error on missing record

Open wojtek-krysiak opened this issue 5 years ago • 0 comments

Describe the bug In typeorm adapter (maybe its related) there is a 500 error right now when trying to access missing record:

http://localhost:3000/admin/resources/Photo/records/5/show?recordIds=5

shows: Screenshot 2020-09-04 at 11 35 44

Installed libraries and their versions

Additional info

This will require to create HTTPError class, and implement this in all the plugins, because right now they don't know anything about status code and error message.

wojtek-krysiak avatar Sep 04 '20 09:09 wojtek-krysiak