Add tool to capture exceptions