- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 19 for captured (0.05 seconds)
-
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
throw new CrawlerSystemException(e); } } } /** * Gets the captured output as a single string. * @return The captured output with newlines. */ public String getOutput() { final StringBuilder buf = new StringBuilder(100); for (final String value : list) {
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 14.4K bytes - Click Count (0) -
tests/test_dependency_after_yield_raise.py
When a dependency with yield raises after the yield (not in an except), the response is already "successfully" sent back to the client, but there's still an error in the server afterwards, an exception is raised and captured or shown in the server logs. """ with TestClient(app, raise_server_exceptions=False) as client: response = client.get("/broken") assert response.status_code == 200
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.7K bytes - Click Count (0) -
tests/test_dependency_after_yield_streaming.py
""" When a dependency with yield raises after the streaming response already started the 200 status code is already sent, but there's still an error in the server afterwards, an exception is raised and captured or shown in the server logs. """ with TestClient(app, raise_server_exceptions=False) as client: response = client.get("/broken-session-stream") assert response.status_code == 200Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 3.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
} /** * We are interested in project success events, in which case we call * the {@link #installIntoProjectLocalRepository(MavenProject)} method. * The mojo started event is also captured to determine the lifecycle * phases the project has been through. * * @param event the execution event */ private void processEvent(ExecutionEvent event) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Dec 15 11:20:38 GMT 2025 - 24.4K bytes - Click Count (0) -
docs/es/docs/tutorial/dependencies/dependencies-with-yield.md
Si quieres capturar excepciones y crear un response personalizado en base a eso, crea un [Manejador de Excepciones Personalizado](../handling-errors.md#install-custom-exception-handlers){.internal-link target=_blank}. ## Dependencias con `yield` y `except` { #dependencies-with-yield-and-except }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 13.7K bytes - Click Count (0) -
tests/test_validation_error_context.py
async def request_validation_handler(request: Request, exc: RequestValidationError): captured_exception.capture(exc) raise exc @app.exception_handler(ResponseValidationError) @sub_app.exception_handler(ResponseValidationError) async def response_validation_handler(_: Request, exc: ResponseValidationError): captured_exception.capture(exc) raise exc @app.exception_handler(WebSocketRequestValidationError)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 06 12:21:57 GMT 2025 - 4.7K bytes - Click Count (0) -
docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md
Se você utilizar um bloco `try` em uma dependência com `yield`, você irá capturar qualquer exceção que for lançada enquanto a dependência é utilizada. Por exemplo, se algum código em um certo momento no meio, em outra dependência ou em uma *operação de rota*, fizer um "rollback" de uma transação de banco de dados ou causar qualquer outra exceção, você irá capturar a exceção em sua dependência.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 14.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java
import org.apache.logging.log4j.Logger; import org.codelibs.core.exception.IORuntimeException; import org.codelibs.fess.Constants; /** * Utility class for generating and writing thread dumps. * Provides methods to capture thread information for debugging purposes. */ public class ThreadDumpUtil { private static final Logger logger = LogManager.getLogger(ThreadDumpUtil.class); /**Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 3.3K bytes - Click Count (0) -
docs/pt/docs/tutorial/body.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.9K bytes - Click Count (0) -
docs/pt/docs/advanced/websockets.md
Quando uma conexão WebSocket é fechada, o `await websocket.receive_text()` levantará uma exceção `WebSocketDisconnect`, que você pode então capturar e lidar como neste exemplo. {* ../../docs_src/websockets/tutorial003_py39.py hl[79:81] *} Para testar: * Abra o aplicativo com várias abas do navegador. * Escreva mensagens a partir delas.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6K bytes - Click Count (0)