Skip to content

Comments

homework-05 committed#5

Open
Yevhenko wants to merge 2 commits intomasterfrom
homework-05
Open

homework-05 committed#5
Yevhenko wants to merge 2 commits intomasterfrom
homework-05

Conversation

@Yevhenko
Copy link
Owner

@Yevhenko Yevhenko commented Dec 9, 2020

No description provided.

await uploadCsv(req);

return res.end('Success!');
} catch (error) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Створи пліз мідлвару для обробки помилок, та розмісти її кінці списку роутів, це дозволить позбавитися дублювання коду обробки помилок у всіх роутах.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants