Correct printing of exception of failed layoutload

Traceback of error is printed