FIX Avoid unnecessary user_error when no controller set for friendly errors in Debug class
Merge pull request #1944 from patbolo/bugfix/debug-no-controller

FIX Avoid unnecessary user_error when no controller set for friendly err...