-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v1.0.4: Add exception handling to network module
This update enhances the reliability of the network module by adding exception handling to various methods. While previously, methods like ping_from_server, telnet_from_server, etc., would crash the application on encountering an error, now, they catch general exceptions and return the error message. This prevents app crashing and facilitates troubleshooting. Moreover, input validation has been added to ensure the IP address or DNS name entered is correct before execution, increasing overall function stability.
- Loading branch information
Showing
2 changed files
with
20 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters