Project

General

Profile

Feature #21952

poms_client make_poms_call

Added by Yuyi Guo over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
02/22/2019
Due date:
% Done:

100%

Estimated time:
Scope:
Internal
Experiment:
-
Stakeholders:
Duration:

Description

Rewrite make_poms_call to throw exceptions instead depending logging function to handle errors. The prefer way is the upper layer throw exception and the downstream code will decide what to do with the exceptions. project-py will need to let the user know the exceptions without turning on debug mode, for example there is a 503 error.

History

#1 Updated by Marc Mengel over 1 year ago

  • % Done changed from 0 to 100
  • Status changed from New to Resolved

#2 Updated by Yuyi Guo over 1 year ago

Marc, Could you commit the code to develop?

#3 Updated by Marc Mengel over 1 year ago

It is.. It should be returning RuntimeError, with any stack trace data, for bad http status from the server.

See 92d0ea09

#4 Updated by Stephen White about 1 year ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF