Uploaded image for project: 'Opencast'
  1. MH-12270

Don't swallow unknown SMIL exceptions

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed and reviewed
    • Affects versions: 3.0
    • Fix versions: 3.2
    • Components: Backend Software

      Description

      Catching an exception and throwing a new one loses important context information about the error:

           } catch (Exception ex) {
      -      throw new ProcessFailedException(ex.getMessage());
      +      throw new ProcessFailedException("Unable to process SMIL: " + ex.getMessage(), ex);
      

        TestRail: Results

          Attachments

            Activity

              People

              • Assignee:
                smarquard Stephen Marquard
                Reporter:
                smarquard Stephen Marquard
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  TestRail: Cases