#8013 Fixed percentile

This commit is contained in:
Daniel Maya 2021-09-20 17:51:56 +02:00
parent 6153237481
commit aef3e8affd
1 changed files with 5 additions and 0 deletions

View File

@ -379,6 +379,11 @@ final class Percentile extends Item
$moduleValue = \modules_get_last_value($moduleId);
if ($moduleValue === false) {
// Restore connection.
if ($nodeConnected === true) {
\metaconsole_restore_db();
}
throw new \InvalidArgumentException(
'error fetching the module value'
);