Commit c020a9a2 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(fusioninventory): Improve error handling in collect.php

This returns a 500 error in case of a blocking error when storing
 inventory.
It also puts information in the status line along with the 500 error so
 that the fusioninventory-agent cli tool show the error.
Errors on sub-objects are logged only so that one missing objectClass or
 attribute from the schema does not block the whole inventory, seeing as
 fusioninventory fields seem to evolve each version.

issue #4348
Showing with 13 additions and 16 deletions
+13 -16
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment