Compare commits
2 commits
9ebad2cc7b
...
0e9d82d2bb
| Author | SHA1 | Date | |
|---|---|---|---|
| 0e9d82d2bb | |||
| 54c5ef9bf4 |
2 changed files with 5 additions and 4 deletions
|
|
@ -271,9 +271,10 @@ def get_custom_message(reason: str, compatability_dict: dict) -> str:
|
|||
GUI's startup script in __main__
|
||||
"""
|
||||
if reason == "upgrade":
|
||||
custom_error = "You just upgraded HydraVeil, so let's upgrade your database to handle the new data types."
|
||||
custom_error = "You just upgraded HydraVeil, so let's upgrade your database to handle the new data types. This will NOT harm your existing profiles or browser sessions."
|
||||
elif reason == "old_app":
|
||||
custom_error = "You're using an old version of HydraVeil, with a newer version of the database. This means the older app would crash trying to handle the newer data."
|
||||
custom_error = "Upgrade Time! You're using an old version of HydraVeil, with a newer version of the database. This means the older app would crash trying to handle the newer data. This will NOT harm your existing profiles or browser sessions."
|
||||
|
||||
else:
|
||||
error_msg = compatability_dict.get("error", "Unknown reason.")
|
||||
custom_error = f"There was an error with upgrading your database version. Please tell customer support: {error_msg}."
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ def _execute_tor_request(
|
|||
payload: Optional[dict],
|
||||
connection_observer: Optional[ConnectionObserver] = None,
|
||||
client_observer: Optional[ClientObserver] = None,
|
||||
timeout: int = 6,
|
||||
timeout: int = 20,
|
||||
clearweb_resolved_ip: str = None # if DNS via Tor is blocked
|
||||
) -> ApiResponse:
|
||||
"""
|
||||
|
|
@ -108,7 +108,7 @@ def _execute_regular_request(
|
|||
payload: Optional[dict],
|
||||
connection_observer: Optional[ConnectionObserver] = None,
|
||||
client_observer: Optional[client_observer] = None,
|
||||
timeout: int = 5,
|
||||
timeout: int = 10,
|
||||
) -> ApiResponse:
|
||||
"""
|
||||
Regular (non-Tor) request. NO observer coupling.
|
||||
|
|
|
|||
Loading…
Reference in a new issue