Summary
In this chapter, we improved our CLI application, Bookmarkr, by adding error handling and logging into the application.
With error handling, we implemented graceful degradation into our CLI application. This means that our application is now more fault-tolerant and will not crash abruptly should an unexpected event occur.
With logging, we can record application activities, errors, and exceptions so that they can be analyzed at a later point in time in order to understand the sequence of events that led up to that error or unexpected behavior. But logging also enables the monitoring of application health and performance over time.
In the upcoming chapter, we will see how to make our CLI application more interactive and user-friendly.