Skip to content

Commit 6267897

Browse files
committed
Drop condition for printing traceback
1 parent 33a5c79 commit 6267897

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rsconnect/main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,7 @@ def failed(err: str):
111111
except EnvironmentException as exc:
112112
failed("Error: " + str(exc))
113113
except Exception as exc:
114-
if click.get_current_context(True):
115-
traceback.print_exc()
114+
traceback.print_exc()
116115
failed("Internal error: " + str(exc))
117116
finally:
118117
logger.set_in_feedback(False)

0 commit comments

Comments
 (0)