inception icon indicating copy to clipboard operation
inception copied to clipboard

Reduce exceptions thrown to reduce log pollution

Open jcklie opened this issue 3 years ago • 0 comments

Describe the refactoring action Some things throw exceptions but they should just log a warning/error

  • [x] Validation failed message when finishing a document (in 22.0)
  • [x] Actions performed through context menu
  • [x] [PERSON] is not in the tag list. Please choose from the existing tags
  • [ ] Number of sentences [162451] exceeds limit [20000].
  • [ ] ZIP file is not a WebAnno project archive
  • [ ] Invalid ZIP file
  • [ ] No relation annotation allowed on layer [Chunk]
  • [ ] Cannot create another annotation of layer [evidence] at this location - no overlap or stacking is allowed for this layer.: Cannot create another annotation of layer [evidence] at this location - no overlap or stacking is allowed for this layer.
  • [ ] de.tudarmstadt.ukp.inception.search.ExecutionException: Unable to parse query ["<Named_entity.value=”HOUSE”/>"]
  • [ ] Cannot create relation between spans on different layers

Expected benefit Less noise in the log, streamlining that exceptions are actual errors in INCEpTION and not caused by user errors

jcklie avatar Jun 09 '21 20:06 jcklie