mirror of
https://github.com/onyx-and-iris/simple-recorder.git
synced 2025-07-27 06:11:59 +00:00
handle TimeoutError
patch bump
This commit is contained in:
parent
d8d7fce5cc
commit
0fe22debb6
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "simple-recorder"
|
name = "simple-recorder"
|
||||||
version = "0.3.0"
|
version = "0.3.1"
|
||||||
description = "A simple OBS recorder"
|
description = "A simple OBS recorder"
|
||||||
authors = [{ name = "onyx-and-iris", email = "code@onyxandiris.online" }]
|
authors = [{ name = "onyx-and-iris", email = "code@onyxandiris.online" }]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
@ -32,5 +32,5 @@ class Directory(Command):
|
|||||||
f"Current recording directory: {highlight(resp.record_directory)}"
|
f"Current recording directory: {highlight(resp.record_directory)}"
|
||||||
)
|
)
|
||||||
return resp.record_directory
|
return resp.record_directory
|
||||||
except Exception as e:
|
except TimeoutError:
|
||||||
raise SimpleRecorderError(f"Failed to get recording directory: {e}")
|
raise SimpleRecorderError("Failed to connect to OBS. Is it running?")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user