Skip to content

Commit 4747ab2

Browse files
committed
🩹 raise ori Exception in play_auto
1 parent a36c4b6 commit 4747ab2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/badapple/players.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,9 @@ def play_auto(audio: str) -> None:
283283
return
284284
except KeyboardInterrupt:
285285
return
286-
except Exception:
286+
except Exception as e:
287287
if time.time()-a > 1.:
288-
raise RuntimeError(i)
288+
raise e
289289

290290

291291
def realias(player: str) -> str:

0 commit comments

Comments
 (0)