Better handling of context when missing outer/inner in stacktraces