Commit 705ab6ed authored by Alexandre's avatar Alexandre
Browse files

Catch error on IP or name input

parent fa6b2c21
......@@ -661,6 +661,8 @@ except TimeoutError:
except ConnectionRefusedError:
error("Connection to server refused")
except ValueError:
error(f'"{url}" not an name or an IP address')
except CustomException as e:
if ifile is not None:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment