Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion experiments/shell/workspace.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,13 @@ class Workspace {
try { self->paint(dc); } catch(...) { EndPaint(hwnd,&ps); throw; }
EndPaint(hwnd,&ps); return 0;
}
} catch(const std::exception& error) { self->failure_=error.what(); self->discard_and_close(); }
} catch(const std::exception& error) {
self->failure_=error.what();
// Workspace scenarios (selection, actions, shells) fail outside the
// per-tab dump, so report the scenario identity and the message here.
std::cerr << "workspace-failure mode=" << self->test_mode_ << " what=" << self->failure_ << '\n';
self->discard_and_close();
}
return DefWindowProcW(hwnd,message,wp,lp);
}
public:
Expand Down
Loading