Provide a single level trace when there is an error

Currently there are no details of where the error is, when one is caught. This adds an entry into the backtrace to show where it is.