This is a known problem: See trac ticket #11913. Unfortunately, the problem isn't resolved yet.
Two possible workarounds:
- If you do "click to the left of this block", then the complete source is shown. I don't know what happens if the doc string contains several tracebacks, though.
- Use the command line version of Sage: The problem is specific to the Notebook.