That's simply what -d does  it prints all exceptions that ever happen in your code, even if they are rescued.

-- Matma Rex