SkuldNorniern / fluere

Fluere is a powerful and versatile tool designed for network monitoring and analysis. It is capable of capturing network packets in pcap format and converting them into NetFlow data, providing a comprehensive view of network traffic. It also Provides Terminal User Interface.
Apache License 2.0
33 stars 3 forks source link

Modify error handling to properly exit the program with error messages #34

Closed sweep-ai[bot] closed 1 year ago

sweep-ai[bot] commented 1 year ago

Description

This PR modifies the error handling in the project to handle errors gracefully, log the error messages, and exit the program properly. The current implementation uses the panic! macro, which is not suitable for a stable release. The changes made in this PR replace the panic! macro with proper error handling, utilize the existing logging system to log error messages, and modify the main function to handle errors returned by the functions it calls.

Summary

Fixes #31.


To checkout this PR branch, run the following command in your terminal:

git checkout {pull_request.branch_name}

🎉 Latest mprovements to Sweep:


💡 To get Sweep to edit this pull request, you can: