Adding backtrace info to error message

Thanks @macbre