kumar-shridhar / Online-Toxicity-Detection

APOLLO-1: Online Toxicity Detection
MIT License
2 stars 4 forks source link

The invalid link after passing the id #11

Closed n-akram closed 4 years ago

n-akram commented 4 years ago

Currently the "Invalid link" error is only thrown when the the id is not found in the link.

However, we need to take into account the deleted, or removed videos. Which still might contain valid link.

https://github.com/kumar-shridhar/APOLLO-1/blob/4f74de9aa894d663f3159d7f2d9f3b753c1fdf54/apollo/Frontend/app.py#L96

At this, I suggest to use error message to convey error.

https://github.com/kumar-shridhar/APOLLO-1/blob/4f74de9aa894d663f3159d7f2d9f3b753c1fdf54/apollo/Frontend/app.py#L43

before next line.

RituYadav92 commented 4 years ago

This case is also fixed and tested in in refactor branch and merged into master. Please open the issue if anyone is face this error again.