Skip to content

Commit

Permalink
Show errors when failing.
Browse files Browse the repository at this point in the history
  • Loading branch information
wtgee committed Aug 26, 2023
1 parent 2c9db0a commit ab6fa61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/panoptes/pocs/utils/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ def run_auto(confirm: Annotated[bool, typer.Option(prompt='Are you sure you want
print('POCS interrupted by user, shutting down.')
print(f'[bold red]Please be patient, this may take a moment while the mount parks itself.[/bold red]')
pocs.power_down()
except Exception:
except Exception as e:
print('[bold red]POCS encountered an error.[/bold red]')
print(e)


@app.command(name='alignment')
Expand Down

0 comments on commit ab6fa61

Please sign in to comment.