Skip to content

Commit 69e1c60

Browse files
committed
Print exception
1 parent 36ea8c7 commit 69e1c60

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

caterva2/services/sub.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import shutil
2323
import string
2424
import tarfile
25+
import traceback
2526
import typing
2627
import zipfile
2728
from argparse import ArgumentError
@@ -2275,6 +2276,7 @@ async def htmx_command(
22752276
try:
22762277
return await cmd.call(request, user, argv, operands, hx_current_url)
22772278
except Exception as exc:
2279+
traceback.print_exc()
22782280
return htmx_error(request, f'Error in "{command}" command: {exc}')
22792281

22802282
# If the command is not recognized

0 commit comments

Comments
 (0)