Skip to content

Commit

Permalink
simplify: always call progress()
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jan 12, 2025
1 parent cb554b7 commit 5eb0bf8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions xpra/scripts/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -659,10 +659,9 @@ def noprogressshown(*_args):
error_cb, opts, extra_args, full_mode, display_name, defaults,
splash_process, progress)
except Exception as e:
if splash_process and splash_process.poll() is None:
progress(100, f"error: {e}")
import time
time.sleep(1)
progress(100, f"error: {e}")
import time
time.sleep(1)
raise


Expand Down

0 comments on commit 5eb0bf8

Please sign in to comment.