Fixes #3820: Adds exception output to menu item authorization check.