BotLino / BotLino/Lino

Tratamento incorreto das informações obtidas pelo WebCrawler RU

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
bug enhancement
Dominant language
Python
Stars
10
Forks
2
PR merge metrics
No merged PRs in 30d

Description

**Descrição**

O código trata de forma prematura as exceptions obtidas, tratando todos os erros como problemas de data, onde é incorretamente identificado como "fim de semana" toda vez que ocorre algum erro no sistema ou em sua interação com o serviço do Crawler RU.

**Tarefas**

- [ ] Tratar corretamenute caso exista algum problema diretamente relacionado ao WebCrawler RU.
- [ ] Tratar corretamente quando o cardápio é solicitado no fim de semana.

**Critérios de Aceitação**

- [ ] Código passando nos testes Flake8.
- [ ] Usuário deve receber uma mensagem de aviso de fim de semana caso seja solicitado o cardápio do sábado e no domingo.
- [ ] Usuário deve receber a mensagem de problema relacionado ao cardápio caso haja algum erro na requisição com o WebCrawler RU.

Contributor guide

Open the contributing guide

Research direction

Start by locating the WebCrawler RU request and the exception handling that currently treats every error as a weekend case. Run Flake8 and verify requests for Saturday or Sunday produce the weekend warning, while crawler or menu-request failures produce a separate menu-problem message.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.