Skip to content
  1. Feb 05, 2019
  2. Jan 23, 2019
  3. Jan 13, 2019
  4. Jan 06, 2019
  5. Jan 05, 2019
  6. Jan 03, 2019
  7. Jan 02, 2019
  8. Dec 31, 2018
  9. Dec 30, 2018
    • hydrargyrum's avatar
      weboob.tools.application: let bcall_errors_handler return exit code · 8571f042
      hydrargyrum authored and Romain Bignon's avatar Romain Bignon committed
      Currently, weboob commands still return 0 even when an exception is
      raised. Let bcall_errors_handler decide the return code instead of
      always 0.
      
      A good return code is hard because of several things:
      
      * there might be multiple exceptions in a BCallErrors, so values
      returned by bcall_error_handler (single exception) cannot easily be
      combined
      * the base implemententation of bcall_errors_handler cannot be polluted
      with a lot of exception subclasses
      
      So, any non-MoreResultsAvailable will cause a non-zero return code.
      
      Should fix https://git.weboob.org/weboob/devel/issues/74.
      8571f042