- // Print context of exception.
- if (!page_queue_.empty())
- {
- std::cerr << "ERROR: While processing page <"
- << page_queue_.front() << ">:\n";
- if (page_state_.get() && !page_state_->link_target.empty())
- std::cerr << "ERROR: While processing link to <"
- << page_state_->link_target << ">:\n";
- }
-
- // Print exception message.