Capture any exceptions in the client filter.