inspectit-ocelot icon indicating copy to clipboard operation
inspectit-ocelot copied to clipboard

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

Open danipaniii opened this issue 2 years ago • 1 comments

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):

  • OS: Windows 10
  • Browser firefox
  • Version 107

danipaniii avatar Nov 28 '22 10:11 danipaniii