Now handling exceptions from goto commands.

If we see an exception, we log an error.