Added Error model to deserialize json errors from ChartMuseum into.
Changed panic logging to use message from error model
Added option to use ChartMuseum/ui with ChartMuseums that use organizations
Error logging looks like this:
ui_1 | 2019/02/11 13:14:48.817 Error received from ChartMuseum application: chart not found
ui_1 | %!(EXTRA *json.UnmarshalTypeError=json: cannot unmarshal string into Go value of type []models.Chart)
Where chart not found is the actual error from ChartMuseum.
Error logging looks like this:
Where
chart not found
is the actual error from ChartMuseum.