create reusable error parser for report evaluation

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 3.5.0-alpha1, 3.5.0
    • Affects Version/s: None
    • Component/s: frontend
    • None
    • Not defined

      Context:
      We call `error.json()` when handling the evaluation errors. This however might fail, and we should surround it with a try catch to avoid that. Since this is used in multiple place, it makes sense to create a reusable error parser for it like what we do in the notification showError function.

      AT:

      • create a reusable error parser for evaluation error.

            Assignee:
            Unassigned
            Reporter:
            Omran Abazeed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: