Index: src/inspector/v8-debugger-agent-impl.cc |
diff --git a/src/inspector/v8-debugger-agent-impl.cc b/src/inspector/v8-debugger-agent-impl.cc |
index 80e261119e8dad855314b4df6de7381974fac01f..66f1a0c6149029addbcfa133cbd2679b5144cd88 100644 |
--- a/src/inspector/v8-debugger-agent-impl.cc |
+++ b/src/inspector/v8-debugger-agent-impl.cc |
@@ -705,10 +705,7 @@ void V8DebuggerAgentImpl::setPauseOnExceptionsImpl(ErrorString* errorString, |
int pauseState) { |
m_debugger->setPauseOnExceptionsState( |
static_cast<V8Debugger::PauseOnExceptionsState>(pauseState)); |
- if (m_debugger->getPauseOnExceptionsState() != pauseState) |
- *errorString = "Internal error. Could not change pause on exceptions state"; |
- else |
- m_state->setInteger(DebuggerAgentState::pauseOnExceptionsState, pauseState); |
+ m_state->setInteger(DebuggerAgentState::pauseOnExceptionsState, pauseState); |
} |
void V8DebuggerAgentImpl::evaluateOnCallFrame( |