#1756 shell: error in stats:show() when stats disabled

Reporter Zash
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Milestone-0.12
  • Priority-Medium
  • Type-Defect
  • Status-Accepted
  1. Zash on

    What steps will reproduce the problem? 1. Statistics disabled 2. Run shell command 'stats:show()' What is the expected output? Error message about statistics being unavailable What do you see instead? ! /usr/lib/prosody/modules/mod_admin_shell.lua:1916: attempt to index a nil value (local 'metric_registry') What version of the product are you using? 0.12.0

New comment

Not published. Used for spam prevention and optional update notifications.