Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-3713

exception log is missing when server 500

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.4.0
    • server
    • None

    Description

      Produce: call a rest which will produce an exception, the fetchKey give a not existing file name

       

      curl --verbose -X PUT http://localhost:9998/detect/stream -H "fetcherName: minio-data" -H "fetchKey: none-existing.docx" 

       

      In the console, only one INFO output, no exception neither stacktrace

      The actual exception should be "java.nio.file.NoSuchFileException: /root/emop/minio-data/none-existing.docx"

      https://github.com/apache/tika/compare/main...BeamLiu:patch-1

       

      Pay attention, same as other rest endpoints, similar problem.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              beam beamliu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: