Browse Source

Don't throw an exception right now

pull/3/head
Richard Dern 3 months ago
parent
commit
eec2af1196
  1. 4
      package/Analyzer.php

4
package/Analyzer.php

@ -232,10 +232,6 @@ class Analyzer extends GenericObject
*/
protected function getAnalyzers(): array
{
if (empty($this->mimeType)) {
throw new Exception("Specified file has no mime-type, cannot analyze");
}
$classes = [];
$groups = config(sprintf('analyzer.analyzers.%s.groups', $this->mimeType), []);
$analyzers = config(sprintf('analyzer.analyzers.%s.analyzers', $this->mimeType), []);

Loading…
Cancel
Save