DEV Community

Cover image for Backend Error Handling: Practical Tips from a Startup CTO

Backend Error Handling: Practical Tips from a Startup CTO

Victoria Johnston on August 17, 2023

Hey there! I’m the CTO of a web3 startup, and before that, I was a senior engineer working on infrastructure and full-stack systems at Google. I’ve...
Collapse
 
onlinemsr profile image
Raja MSR •

Thank you for sharing your experience and insights on error handling and logging. Your tips are practical and easy to follow. I especially appreciate your emphasis on the importance of error handling in improving user experience!

Collapse
 
ctrlaltvictoria profile image
Victoria Johnston •

thank you :)

Collapse
 
seungzedd profile image
Seung-zedd •

that's why TDD(Test-Driven-Development)is also important. but if the company is prone to agile system, there is alternative ways to this like error handling and logging. and i think using Git to log message is an another good solution to handle it.

Collapse
 
joshuaamaju profile image
Joshua Amaju •

Even though it's a contrived example, you shouldn't do logging in the add function

Collapse
 
ctrlaltvictoria profile image
Victoria Johnston •

Thank you :)

Collapse
 
shshank profile image
Shshank •

Thank you so much for this helpful guide. I too skip error handling part while coding. But from now on try to handle error as much possible. Thanks for this practical guide.

Collapse
 
ctrlaltvictoria profile image
Victoria Johnston •

You are welcome! Thanks for reading!

Collapse
 
olivia73code profile image
Olivia73-code •

Thank you for this guide. I look forward to managing or supporting with implementing this in the future.

Collapse
 
tahsin52225 profile image
Tahsin Ahmed •

Thank you for sharing this.

Collapse
 
ctrlaltvictoria profile image
Victoria Johnston •

You're welcome! Thanks for reading :)

Collapse
 
michaeltharrington profile image
Michael Tharrington •

Thanks so much for walking us through the ins and outs of backend error handling, Victoria! This a super well-written and practical guide. 🙌

Collapse
 
ctrlaltvictoria profile image
Victoria Johnston •

You're welcome!! I'm glad you found it helpful :)

Collapse
 
rlgino profile image
Gino Luraschi •

It was an interesting post, I'm go developer, and error handling sometimes is a huge problem, I'll try to use your suggestion for improving it 👀

Collapse
 
ctrlaltvictoria profile image
Victoria Johnston •

Thank you! Let me know how it goes :)