Skip to content

Commit 35cfa51

Browse files
authored
Spurious errors (#409)
There were 2 spots in the starting of a server that we know error out early on, but the error has no impact on the capability itself. Removed the raise to avoid getting spurious errors in the output.
1 parent b9166c0 commit 35cfa51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

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

17061706
# Start the busy cursor
@@ -1835,7 +1835,7 @@ def launch_local_database_server(
18351835
)
18361836
except Exception as e:
18371837
# we will try again
1838-
_ = "This can throw an error at the validate steps if it's just starting, but still work."
1838+
_ = f"This can throw an error at the validate steps if it's just starting, but still work: {str(e)}"
18391839
pass
18401840

18411841
# detach from stdout, stderr to avoid buffer blocking

0 commit comments

Comments
 (0)