amosproj / amos2024ss05-knowledge-graph-extractor

MIT License
7 stars 2 forks source link

Bug: wrong file type error unclear and too long #195

Closed kuoirene closed 2 months ago

kuoirene commented 2 months ago

Describe the bug When the user drags and drops a file type that is not supported, the error thrown is too long and unreadable.

To Reproduce Steps to reproduce the behavior:

  1. Drag and drop any file type that's unsupported

Image

Expected behavior Error should be readable so the user understands they dropped a file type that is unsupported and that we currently only allow ".pdf, .docx, .pptx, .txt, .json" files.