chore: update change session error message (#267)

pull/270/head
sigoden 6 months ago committed by GitHub
parent e4d301f3d7
commit 10e3b6d234
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -520,7 +520,9 @@ impl Config {
pub fn start_session(&mut self, session: Option<&str>) -> Result<()> {
if self.session.is_some() {
bail!("Already in a session, please use '.clear session' to exit the session first?");
bail!(
"Already in a session, please run '.exit session' first to exit the current session."
);
}
match session {
None => {

Loading…
Cancel
Save