Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-8778

The API must return errors if some PHP error occurs

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 2.4.0
    • API (A)

      Currently when performing an API call, if a PHP error, such as, an undefined index or even a failed SQL query in some cases, occurs, no error will be reported. The API will behave like nothing happen. Such errors can be easily overlooked and can lead to unexpected consequences.

      I believe, that if an error occurs, the API call must fail and return an error.

            Unassigned Unassigned
            jelisejev Pavels Jelisejevs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: