Skip to content

Commit

Permalink
Include exception message string in error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
izharaazmi committed Jul 24, 2017
1 parent 633f79a commit aa05f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/modules/mod_menu/helper.php
Expand Up @@ -52,7 +52,7 @@ public static function getMenus()
catch (RuntimeException $e)
{
$result = array();
JFactory::getApplication()->enqueueMessage(JText::_('JERROR_AN_ERROR_HAS_OCCURRED'), 'error');
JFactory::getApplication()->enqueueMessage(JText::sprintf('JERROR_LOADING_MENUS', $e->getMessage()), 'error');
}

return $result;
Expand Down

0 comments on commit aa05f68

Please sign in to comment.