diff --git a/hphp/runtime/ext/asio/continuation_wait_handle.cpp b/hphp/runtime/ext/asio/continuation_wait_handle.cpp index 9f6279297..e57ff1f7d 100644 --- a/hphp/runtime/ext/asio/continuation_wait_handle.cpp +++ b/hphp/runtime/ext/asio/continuation_wait_handle.cpp @@ -72,9 +72,10 @@ Object c_ContinuationWaitHandle::ti_start(const char* cls, CObjRef continuation) } if (UNLIKELY(cont->m_index != -1)) { - assert(cont->m_running); Object e(SystemLib::AllocInvalidOperationExceptionObject( - "Encountered an attempt to start currently running continuation")); + cont->m_running + ? "Encountered an attempt to start currently running continuation" + : "Encountered an attempt to start tainted continuation")); throw e; }