prevent errors without lines from throwing

Signed-off-by: Chris Granger <ibdknox@gmail.com>
show a notification if you can't show the error

Signed-off-by: Chris Granger <ibdknox@gmail.com>