Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Better error message when try_to_run command fails #201

Merged
merged 1 commit into from Jun 7, 2019

Commits on Jun 3, 2019

  1. Better error message when try_to_run command fails

    The `CalledProcessError` object should always have a `.output` attribute, although it may be None, so the `getattr()` will never hit the fallback condition.
    
    The logical `or` operator should use the fallback if `e.output` is either None or an empty string, because those are both false-y. Any other possible value will be shown.
    takluyver committed Jun 3, 2019
    Copy the full SHA
    3113225 View commit details
    Browse the repository at this point in the history