Skip to content

Commit 894352e

Browse files
authored
Linux: rethrow exceptions correctly (#115)
1 parent 57277c5 commit 894352e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/scripts/test-windows.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ exec { python -m pip install -r dev-requirements.txt }
9797

9898
# Install test helper package
9999
Push-Location test/win-dshow-capture
100-
exec { python -m pip install wheel }
100+
exec { python -m pip install wheel setuptools }
101101
exec { python -u setup.py bdist_wheel }
102102
python -m pip uninstall -y pyvirtualcam_win_dshow_capture
103103
ls dist\*cp${PYVER}*win*.whl | % { exec { python -m pip install $_ } }

pyvirtualcam/native_linux_v4l2loopback/virtual_output.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class VirtualOutput {
130130
} catch (std::exception &ex) {
131131
close(_camera_fd);
132132
_camera_fd = -1;
133-
throw ex;
133+
throw;
134134
}
135135
};
136136

0 commit comments

Comments
 (0)