We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bed670d commit e3e6472Copy full SHA for e3e6472
tmuxp/cli/freeze.py
@@ -5,10 +5,10 @@
5
import kaptan
6
7
from libtmux.server import Server
8
+from tmuxp.exc import TmuxpException
9
10
from .. import config, util
11
from ..workspacebuilder import freeze
-from . import exc
12
from .utils import _validate_choices, get_abs_path, get_config_dir
13
14
@@ -65,8 +65,8 @@ def command_freeze(
65
session = util.get_session(t)
66
67
if not session:
68
- raise exc.TmuxpException("Session not found.")
69
- except exc.TmuxpException as e:
+ raise TmuxpException("Session not found.")
+ except TmuxpException as e:
70
print(e)
71
return
72
0 commit comments