Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for doSomething (0.06 seconds)

  1. src/test/java/org/codelibs/fess/job/LogNotificationJobTest.java

            events.add(new LogNotificationEvent(timestamp, "ERROR", "org.codelibs.fess.TestClass", "Something went wrong",
                    "java.lang.NullPointerException: null\n\tat org.codelibs.fess.TestClass.doSomething(TestClass.java:42)"));
    
            String details = testableJob.testFormatDetails(events);
    
            assertNotNull(details);
            assertTrue(details.contains("Total: 1 event(s)"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  2. docs/en/docs/release-notes.md

    If you depended on exceptions not being received by dependencies with `yield`, and receiving an exception breaks the code after `yield`, you can use a block with `try` and `finally`:
    
    ```Python
    async def do_something():
        try:
            yield something
        finally:
            some_cleanup()
    ```
    
    ...that way the `finally` block is run regardless of any exception that might happen.
    
    ### Features
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
Back to Top