Skip to content

Commit 3696615

Browse files
committed
Reraise original exception instead of new one
This caused failures to be obscured
1 parent d830c1f commit 3696615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zocalo/cli/configure_rabbitmq.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ def run():
464464
logger.error(f"Error 404: VHost not found for url: {e.response.url}")
465465
sys.exit(1)
466466
except Exception:
467-
raise
467+
raise e
468468
logger.error(e)
469469
sys.exit(1)
470470

0 commit comments

Comments
 (0)