Skip to content

Commit 83b31f6

Browse files
committed
temp add traceback code
1 parent 6b01279 commit 83b31f6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

shiny/bookmark/_bookmark.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,13 @@ async def do_bookmark(self) -> None:
558558
await self.show_bookmark_url_modal(full_url)
559559

560560
except Exception as e:
561+
# TODO: REMOVE TEMP CODE w/ TRACEBACKS
562+
import sys
563+
import traceback
564+
565+
# Starting in Python 3.10 this could be traceback.print_exception(e)
566+
traceback.print_exception(*sys.exc_info())
567+
561568
msg = f"Error bookmarking state: {e}"
562569
from ..ui._notification import notification_show
563570

0 commit comments

Comments
 (0)