Avoid undefined nil::Depth warning in exceptions
Merge pull request #850 from Zentyal/jag/exceptions-depth-undef-warn

Avoid undefined Error::Depth warning in exceptions