Skip to content

Commit b5911ac

Browse files
committed
Remove spurious error messages when you start a service
1 parent 5a7ec05 commit b5911ac

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/ansys/dynamicreporting/core/utils/report_remote_server.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1700,8 +1700,7 @@ def launch_local_database_server(
17001700
)
17011701
return False
17021702
except Exception as e:
1703-
if print_allowed():
1704-
print(f"Error: {str(e)}")
1703+
_ = "This can throw an error at the validate step but still be able to start a new server."
17051704
pass
17061705

17071706
# Start the busy cursor
@@ -1836,8 +1835,7 @@ def launch_local_database_server(
18361835
)
18371836
except Exception as e:
18381837
# we will try again
1839-
if print_allowed():
1840-
print(f"Error: {str(e)}")
1838+
_ = "This can throw an error at the validate steps if it's just starting, but still work."
18411839
pass
18421840

18431841
# detach from stdout, stderr to avoid buffer blocking

0 commit comments

Comments
 (0)