Skip to content

Commit

Permalink
chore: change to error
Browse files Browse the repository at this point in the history
Signed-off-by: Frost Ming <[email protected]>
  • Loading branch information
frostming committed Nov 16, 2023
1 parent d1946fe commit 3d67092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pdm/cli/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def do_lock(
raise
except ResolutionImpossible as err:
ui.echo(f"{termui.Emoji.LOCK} Lock failed", err=True)
ui.echo(format_resolution_impossible(err), err=True)
ui.error(format_resolution_impossible(err))
raise ResolutionImpossible("Unable to find a resolution") from None
else:
data = format_lockfile(project, mapping, dependencies, groups=groups, strategy=lock_strategy)
Expand Down

0 comments on commit 3d67092

Please sign in to comment.