TOOLS-422: add context to restore errors