Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit 60cc229

Browse files
committed
Make deploy script to raise error explicitly
1 parent 817adcd commit 60cc229

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def release(context: Context) -> None:
4444
except UnexpectedExit as exception:
4545
with open(pyproject_path, 'w', encoding='utf-8') as pyproject_file:
4646
pyproject_file.write(pyproject_string)
47-
raise exception
47+
raise exception from exception
4848

4949
# recover to original
5050
with open(pyproject_path, 'w', encoding='utf-8') as pyproject_file:

0 commit comments

Comments
 (0)