Skip to content

Commit

Permalink
feat: verbose for command errors of pull languages
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosabu committed Oct 31, 2024
1 parent a59db44 commit 8cdc543
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/pull-languages/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ export const pullLanguagesCommand = program
await initializeSession()

if (!state.isLoggedIn) {
handleError(new CommandError(`You are currently not logged in. Please login first to get your user info.`))
handleError(new CommandError(`You are currently not logged in. Please login first to get your user info.`), verbose)
return
}

if (!space) {
handleError(new CommandError(`Please provide the space as argument --space YOUR_SPACE_ID.`))
handleError(new CommandError(`Please provide the space as argument --space YOUR_SPACE_ID.`), verbose)
return
}

Expand Down

0 comments on commit 8cdc543

Please sign in to comment.