We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba54836 commit f85a6f8Copy full SHA for f85a6f8
core/src/commonTest/kotlin/com/powersync/testutils/WaitFor.kt
@@ -15,11 +15,12 @@ internal suspend inline fun waitFor(
15
try {
16
test()
17
return
18
- } catch (_: Error) {
+ } catch (e: Error) {
19
// Treat exceptions as failed
20
+ println("waitFor: failed with $e")
21
}
22
delay(interval)
23
} while (begin.elapsedNow() < timeout)
24
- throw Exception("Timeout reached")
25
+ throw Exception("waitFor() Timeout reached")
26
0 commit comments