inspectIT / inspectit-ocelot

inspectIT Ocelot - Java agent for collecting application performance, tracing and behavior data
http://www.inspectit.rocks/
Apache License 2.0
204 stars 69 forks source link

[Bug] - Opening empty yaml files in the configuration UI throws a disallowed MIME type error #1548

Open danipaniii opened 1 year ago

danipaniii commented 1 year ago

Describe the bug In the config ui, when opening an empty yaml file, an error message gets thrown because of a disallowed MIME type.

To Reproduce Steps to reproduce the behavior:

  1. Go in the config ui to the configuration tab
  2. Create an empty yaml file
  3. Click on it
  4. See error

Expected behavior Empty yaml files can be handled without throwing an error message.

Additional information (screenshots, stack traces, etc.)

weird_next_issue

Desktop (please complete the following information):