Opened 3 years ago

Closed 3 years ago

#2675 closed Bug (fixed)

When piwik maintenance is enabled, API should return an error in the specified format

Reported by: matt Owned by:
Priority: normal Milestone: 1.6 Piwik 1.6
Component: Core Keywords:
Cc: Sensitive: no

Description

Currently wheter xml/html/json is requested, when maintenance_mode is enabled, it returns the standard piwik html error page.

But the API should return the exception in the right format (eg. XML)

Change History (1)

comment:1 Changed 3 years ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

(In [5202]) Fixes #2675
Also updated FAQ http://piwik.org/faq/how-to/#faq_111

Note: See TracTickets for help on using tickets.