Skip to content

Improve API calls error logging #43

Description

@tnachen

Currently when the analyzer UI calls the analyzer (or any external service like operator) and gets a 500, the analyzer-ui log only shows a 500 sign next to the API call, and also the UI js console only states it got a 500 as well.

Let's try to log in the analyzer-ui log when unexpected API error ->

  • what service we called
  • what API call we made
  • what's the response status
  • any error message from the external service

This helps us understand what the problem is, otherwise right now somebody needs to know the internals of how the analyzer-ui work to figure out.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions